-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 1.9 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
{
"name": "multi-page-boilerplate",
"version": "1.0.0",
"author": {
"name": "HaoYang <tillohao@gmail.com>"
},
"description": "multi-page web app template with webpack4 and other cool tools",
"repository": {
"type": "git",
"url": "https://github.com/menthays/multi-page-boilerplate.git"
},
"license": "MIT",
"scripts": {
"test": "jest ./test",
"lint": "eslint src/**/*.{js,jsx} --fix",
"dev": "cross-env NODE_ENV=development webpack-dev-server",
"start": "npm run dev",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"precommit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{css,scss,json,md,js,jsx}": [
"prettier --write",
"git add"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"devDependencies": {
"@babel/core": "7.4.3",
"@babel/preset-env": "7.4.3",
"autoprefixer": "9.5.1",
"babel-loader": "8.0.5",
"clean-webpack-plugin": "2.0.1",
"copy-webpack-plugin": "5.0.2",
"cross-env": "5.2.0",
"css-loader": "2.1.1",
"cssnano": "4.1.10",
"eslint": "5.16.0",
"eslint-config-prettier": "4.1.0",
"eslint-config-xo": "0.26.0",
"eslint-plugin-prettier": "3.0.1",
"file-loader": "3.0.1",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"husky": "1.3.1",
"jest": "24.7.1",
"lint-staged": "8.1.5",
"mini-css-extract-plugin": "0.6.0",
"node-sass": "4.11.0",
"optimize-css-assets-webpack-plugin": "5.0.1",
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"prettier": "1.17.0",
"sass-loader": "7.1.0",
"style-loader": "0.23.1",
"uglifyjs-webpack-plugin": "2.1.2",
"url-loader": "1.1.2",
"webpack": "4.30.0",
"webpack-cli": "3.3.0",
"webpack-dev-server": "3.5.0",
"webpack-serve": "3.1.0"
}
}