-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.15 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
{
"name": "react-spa-infrastructure-template",
"author": "Kanzaki_Yui",
"version": "0.0.1",
"description": "this is an useful template to boost your react spa with various flexible settings",
"keyword": [
"react",
"template",
"infrastructure",
"spa",
"webpack",
"prettier",
"eslint"
],
"license": "MIT",
"homepage": "https://github.com/KanzakiYui/React-SPA-Infrastructure-Template#readme",
"bugs": {
"url": "https://github.com/KanzakiYui/React-SPA-Infrastructure-Template/issues"
},
"scripts": {
"server": "webpack-dev-server --open --config=./compile/index.js",
"check-format": ".\\node_modules\\.bin\\prettier --check \"src/**/*.{js,jsx}\"",
"format": ".\\node_modules\\.bin\\prettier --write \"src/**/*.{js,jsx}\"",
"lint": ".\\node_modules\\.bin\\eslint src/scripts/**/*.{js,jsx}",
"build": "webpack --config=./compile/index.js --prod --nolint --build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KanzakiYui/React-SPA-Infrastructure-Template.git"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.6",
"css-loader": "^3.1.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.1.0",
"eslint-loader": "^2.2.1",
"eslint-plugin-react": "^7.14.3",
"file-loader": "^4.1.0",
"husky": "^3.0.1",
"lint-staged": "^9.2.1",
"node-sass": "^4.12.0",
"prettier": "^1.18.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2"
},
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}