-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.46 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": "prettier-test",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-scripts": "2.1.1",
"webpack": "^4.26.1",
"webpack-cli": "^3.1.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"server": "webpack-dev-server --open",
"lint": "eslint src/component/*.js",
"precommit": "lint-staged",
"format": "onchange 'src/**/*.js' 'src/**/*.jsx' 'src/**/*.scss' -- prettier --write {{changed}}",
"prettier-eslint": "prettier-eslint --write 'src/**/*.js'",
"format2": "onchange 'src/**/*.js' 'src/**/*.jsx' 'src/**/*.scss' -- prettier-eslint --write {{changed}}"
},
"pre-commit": [
"lint"
],
"lint-staged": {
"**/*.{js,jsx,json,css,less,scss,md}": [
"prettier --write",
"git add"
],
"src/**/*.js": [
"eslint --config ./.eslintrc.js --fix",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"css-loader": "^1.0.1",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^2.0.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"lint-staged": "^8.1.0",
"onchange": "^5.1.3",
"pre-commit": "^1.2.2",
"prettier": "^1.15.2",
"prettier-eslint": "^8.8.2",
"prettier-eslint-cli": "^4.7.1",
"prettier-standard": "^8.0.1",
"standard": "^12.0.1",
"style-loader": "^0.23.1",
"webpack-dev-server": "^3.1.10"
}
}