-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "next-gql-hackernews",
"version": "1.0.0",
"description": "hacker news clone project made with next, react and apollo",
"main": "index.js",
"scripts": {
"dev": "next",
"build": "ANALYZE=false next build",
"start": "next start",
"find:unused": "next-unused",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": ["apollo", "graphql", "hacker news", "next.js", "react"],
"author": "",
"license": "MIT",
"next-unused": {
"alias": {
"@config/*": [
"config/*"
],
"@components/*": [
"components/*"
],
"@utils/*": [
"utils/*"
],
"@/apollo/*": [
"apollo/*"
]
},
"debug": true,
"include": [
"components",
"pages"
],
"exclude": [],
"entrypoints": [
"pages"
]
},
"dependencies": {
"@apollo/client": "^3.3.11",
"@apollo/link-error": "^2.0.0-beta.3",
"@apollo/link-schema": "^2.0.0-beta.3",
"@apollo/react-ssr": "4.0.0",
"apollo-server-micro": "^2.21.0",
"firebase": "^8.2.9",
"graphql": "^15.5.0",
"graphql-tools": "^7.0.4",
"isomorphic-unfetch": "^3.1.0",
"lodash.get": "^4.4.2",
"lodash.merge": "^4.6.2",
"next": "^10.0.7",
"next-offline": "^5.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"styled-components": "^5.2.1"
},
"devDependencies": {
"@next/bundle-analyzer": "^10.0.7",
"@types/lodash.get": "^4.4.6",
"@types/lodash.merge": "^4.6.6",
"@types/node": "^14.14.31",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"babel-plugin-styled-components": "^1.12.0",
"eslint": "^7.21.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"typescript": "^4.2.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,less,scss}": [
"prettier --write",
"git add"
]
}
}