-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
76 lines (76 loc) · 2.17 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
{
"name": "nextjs-graphql-sample",
"version": "1.0.0",
"scripts": {
"dev": "ts-node --project tsconfig.server.json server/index.ts",
"build": "next build",
"start": "next start",
"type-check": "tsc",
"generate": "gql-gen --config codegen.yml",
"pre-commit": "yarn tslint:fix && yarn prettier && yarn build && yarn test",
"tslint": "tslint --project tsconfig.json",
"tslint:fix": "tslint --project tsconfig.json --fix"
},
"pre-commit": "lint-staged",
"lint-staged": {
"*.{ts,tsx}": [
"tslint --fix",
"git add"
]
},
"dependencies": {
"@zeit/next-typescript": "^1.1.1",
"apollo-boost": "^0.3.1",
"apollo-link-context": "^1.0.14",
"apollo-link-http": "^1.5.11",
"babel-plugin-import": "^1.11.0",
"classnames": "^2.2.6",
"cookie": "^0.3.1",
"formik": "^1.5.1",
"graphql": "^14.1.1",
"isomorphic-unfetch": "^3.0.0",
"next": "^8.0.3",
"next-compose-plugins": "^2.1.1",
"next-routes": "^1.4.2",
"node-sass": "^4.11.0",
"nprogress": "^0.2.0",
"react": "^16.8.3",
"react-apollo": "^2.5.1",
"react-dom": "^16.8.3",
"styled-components": "^4.1.3",
"styled-system": "^4.0.5",
"yup": "^0.27.0"
},
"devDependencies": {
"@types/cookie": "^0.3.2",
"@types/graphql": "^14.0.7",
"@types/next": "^7.0.6",
"@types/nprogress": "^0.0.29",
"@types/react": "^16.4.16",
"@types/react-dom": "16.0.11",
"@types/styled-components": "^4.1.12",
"@types/styled-system": "^4.0.0",
"@types/yup": "^0.26.12",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-styled-components": "^1.10.0",
"graphql-code-generator": "^0.16.0",
"graphql-codegen-typescript-client": "^0.16.0",
"graphql-codegen-typescript-common": "^0.16.0",
"graphql-codegen-typescript-react-apollo": "^0.16.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"prettier": "^1.17.0",
"ts-node": "^8.0.3",
"ts-node-dev": "^1.0.0-pre.32",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "3.2.4"
},
"license": "ISC",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}