-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.37 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "nextjs-starter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nodemon ./app/server/index.ts",
"start:static": "serve ./app/out -p $PORT",
"start:universal": "node --optimize_for_size --max_old_space_size=460 --gc_interval=100 ./app/.next/production-server/index.js",
"start:graphql": "ts-node -P tsconfig.server.json ./app/server/apollo.ts",
"build:app": "next build ./app",
"export": "node scripts/export",
"export:app": "next export ./app",
"build:server": "tsc -p ./tsconfig.server.json",
"build:universal": "npm run build:app && npm run build:server",
"build:static": "yarn build:app && yarn export && exit 0",
"postinstall": "[ $NODE_ENV = production ] && next build ./app || exit 0",
"fix": "tslint app/**/*.tsx --fix",
"build": "yarn build:static",
"start": "yarn start:static"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@zeit/next-typescript": "^1.1.0",
"apollo-boost": "^0.1.12",
"apollo-datasource-rest": "^0.2.0",
"apollo-link": "^1.2.2",
"apollo-link-persisted-queries": "^0.2.2",
"apollo-link-rest": "^0.4.4",
"apollo-server": "^2.0.7",
"apollo-server-express": "^2.2.2",
"babel-loader": "^8.0.2",
"babel-plugin-inline-react-svg": "^0.5.4",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-styled-components": "^1.6.3",
"body-parser": "^1.18.3",
"compression": "^1.7.3",
"css-loader": "^1.0.0",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"fetch-headers": "^2.0.0",
"graphql": "^0.13.2",
"graphql-anywhere": "^4.1.15",
"graphql-tag": "^2.9.2",
"graphql-type-json": "^0.2.1",
"helmet": "^3.13.0",
"isomorphic-unfetch": "^2.1.1",
"lru-cache": "^4.1.3",
"newrelic": "^4.7.0",
"next": "^7.0.0-canary.13",
"next-compose-plugins": "^2.1.1",
"next-offline": "^2.12.0",
"polished": "^2.0.3",
"raw-loader": "^0.5.1",
"react": "^16.2.0",
"react-apollo": "^2.1.9",
"react-dom": "^16.2.0",
"recompose": "^0.28.2",
"serve": "^10.1.1",
"styled-components": "^3.2.1",
"to-string-loader": "^1.1.5",
"typescript": "^3.0.3",
"url-loader": "^1.1.1"
},
"devDependencies": {
"@types/compression": "^0.0.36",
"@types/dotenv": "^6.1.0",
"@types/express": "^4.16.0",
"@types/graphql": "^14.0.3",
"@types/graphql-type-json": "^0.1.3",
"@types/helmet": "^0.0.42",
"@types/lru-cache": "^4.1.1",
"@types/newrelic": "^3.4.0",
"@types/next": "^7.0.5",
"@types/react": "^16.7.6",
"@types/react-dom": "^16.0.9",
"@types/recompose": "^0.27.1",
"@types/styled-components": "^4.1.0",
"@types/typescript": "^2.0.0",
"concurrently": "^4.1.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"nodemon": "^1.18.3",
"prettier-eslint-cli": "^4.7.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"types-installer": "*",
"typescript-eslint-parser": "^18.0.0",
"typescript-styled-plugin": "^0.10.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier-eslint --write",
"git add"
]
}
}