-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.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
{
"name": "react-boilerplate-by-ak",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:dev": "webpack --config webpack.config.js --progress",
"build:prod": "webpack --config webpack.config.production.js",
"start": "webpack-dev-server --watch",
"lint": "eslint ./ --ext \".js,.jsx\" --max-warnings=0",
"lint:fix": "eslint ./ --ext \".js,.jsx\" --max-warnings=0 --fix",
"format": "prettier --check \"**/*.+(js|jsx|json|yml|yaml|css|md|)\"",
"format:fix": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|md|)\"",
"stylelint": "stylelint src/**/*.scss --cache",
"stylelint:fix": "stylelint src/**/*.scss --cache --fix"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"react": "16.12.0",
"react-dom": "16.12.0"
},
"devDependencies": {
"@babel/core": "7.7.5",
"@babel/preset-env": "7.7.6",
"@babel/preset-react": "7.7.4",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"clean-webpack-plugin": "3.0.0",
"css-loader": "3.3.2",
"eslint": "6.7.2",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "6.7.0",
"eslint-plugin-import": "2.19.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-react": "7.17.0",
"eslint-plugin-react-hooks": "2.3.0",
"file-loader": "5.0.2",
"html-webpack-plugin": "3.2.0",
"husky": "3.1.0",
"lint-staged": "9.5.0",
"mini-css-extract-plugin": "0.8.0",
"node-sass": "4.13.0",
"prettier": "1.19.1",
"sass-loader": "8.0.0",
"style-loader": "1.0.1",
"stylelint": "12.0.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-scss": "3.13.0",
"terser-webpack-plugin": "2.3.0",
"webpack": "4.41.2",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.9.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:fix && npm run format:fix && npm run stylelint:fix",
"pre-push": "lint-staged"
}
},
"lint-staged": {
"*.+(js|jsx),!*.min.js": [
"eslint --fix",
"echo eslint started",
"git add"
],
"*.+(json|css|md|scss)": [
"prettier --write",
"echo prettier started",
"git add"
],
"*.scss": [
"stylelint --syntax scss",
"echo stylelint started",
"git add"
]
}
}