-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.24 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
{
"scripts": {
"start": "webpack-dev-server --open --mode development --hot",
"lint": "eslint src/**/*.js",
"lint:fix": "eslint --fix src/**/*.js",
"format": "prettier --write \"src/**/*.{js,css,html}\"",
"build": "rm -rf dist && webpack -p --progress && rm dist/main.js"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.14.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"copy-webpack-plugin": "^5.1.1",
"critters-webpack-plugin": "^2.5.0",
"css-loader": "^3.6.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"file-loader": "^6.0.0",
"html-webpack-inline-source-plugin": "^0.0.10",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"raw-loader": "^4.0.1",
"style-loader": "^1.2.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"license": "MIT",
"lint-staged": {
"src/**/*.js": "eslint --fix",
"src/**/*.{js,css,html}": "prettier --write",
"src/**/*.svg": "imgmin-lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}