-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
107 lines (107 loc) · 2.69 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
{
"name": "react-router-dom-example",
"version": "1.0.0",
"description": "Example usage of react-router-dom.",
"main": "index.js",
"repository": "https://github.com/schnee72/react-router-dom-example.git",
"author": "Dustin Schnee <schnee72@gmail.com>",
"license": "MIT",
"scripts": {
"start": "npm-run-all --parallel open:dev lint:watch",
"open:dev": "babel-node tools/server.js",
"lint": "esw webpack.config.* src tools --color",
"lint:watch": "npm run lint -- --watch",
"clean-dist": "rimraf ./dist && mkdir dist",
"prebuild": "npm-run-all clean-dist lint",
"build": "babel-node tools/build.js",
"postbuild": "babel-node tools/distServer.js"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^15.6.1",
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"chalk": "^4.1.0",
"compression": "^1.7.0",
"connect-history-api-fallback": "^1.3.0",
"css-loader": "^0.28.7",
"eslint": "^4.6.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-react": "^7.3.0",
"eslint-watch": "^6.0.1",
"express": "^4.15.4",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"html-webpack-plugin": "^3.2.0",
"npm-run-all": "^4.1.1",
"open": "^6.3.0",
"path": "^0.12.7",
"prop-types": "^15.5.10",
"rimraf": "^2.6.1",
"style-loader": "^0.23.1",
"webpack": "^3.5.5",
"webpack-dev-middleware": "^2.0.6",
"webpack-hot-middleware": "^2.18.2",
"webpack-md5-hash": "^0.0.5"
},
"babel": {
"presets": [
"env",
"react"
],
"plugins": [
"transform-class-properties"
]
},
"eslintConfig": {
"root": true,
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
"react"
],
"parser": "babel-eslint",
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"rules": {
"quotes": 0,
"no-console": 1,
"no-debugger": 1,
"no-var": 1,
"semi": [
1,
"always"
],
"no-trailing-spaces": 0,
"eol-last": 0,
"no-underscore-dangle": 0,
"no-alert": 0,
"no-lone-blocks": 0,
"jsx-quotes": 1
}
}
}