-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
57 lines (57 loc) · 1.74 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
{
"name": "cra-with-ssr",
"version": "0.1.0",
"private": true,
"dependencies": {
"express": "^4.17.1",
"extract-css-chunks-webpack-plugin": "^4.5.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-loadable": "^5.5.0",
"react-loadable-ssr-addon": "^0.1.9",
"react-router-dom": "^5.0.1",
"react-scripts": "3.0.1",
"webpack-node-externals": "^1.7.2"
},
"scripts": {
"start": "react-scripts start",
"start-server": "npm run clean-build-folders && npm run build-client && npm run build-server && npm run copy-sw-to-dist-folder && npm run run-server",
"build-server": "webpack --config webpack.server.js",
"run-server": "nodemon ./build-server/bundle.js",
"build-client": "webpack --config webpack.client.js",
"copy-sw-to-dist-folder": "cp serviceWorker.js dist",
"clean-build-folders": "rm -rf ./build/ && rm -rf ./build-server/ && rm -rf ./dist/",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^5.0.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"nodemon": "^1.19.1",
"prettier": "^1.18.2",
"stylelint-config-standard": "^18.3.0",
"webpack-cli": "^3.3.4"
}
}