-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.62 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
82
83
{
"name": "growth-webpack",
"version": "1.0.0",
"description": "growth-webpack",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npx webpack-dev-server --config webpack.dev.config.js --mode development --open",
"predev": "rm -rf dist",
"prebuild": "rm -rf dist",
"dev": "npx cross-env NODE_ENV=development webpack --config ./webpack.dev.config.js --progress --mode development",
"build": "npx cross-env NODE_ENV=production webpack --config ./webpack.pro.config.js --progress --mode production",
"mock": "npx json-server --watch mock/db.json --routes mock/routes.json --port 9090",
"lint": "npx eslint --ext .js src",
"precp": "npm run build",
"cp": "cp -r dist/. ../test/dist",
"prettier-watch": "onchange '**/*.js' -- prettier --write {{changed}}"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.js": [
"eslint --ext .js src",
"prettier --write",
"git add"
]
},
"author": "JD",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/zyprepare/growth-webpack.git"
},
"devDependencies": {
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"autoprefixer": "^8.5.1",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"basewebpack": "^1.0.1",
"clean-webpack-plugin": "^0.1.19",
"cross-env": "^5.1.6",
"css-loader": "^0.28.11",
"ejs-loader": "^0.3.1",
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
"exports-loader": "^0.7.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"html-withimg-loader": "^0.1.16",
"husky": "^2.4.0",
"json-server": "^0.12.2",
"lint-staged": "^8.2.0",
"mini-css-extract-plugin": "^0.4.0",
"node-sass": "^4.9.0",
"onchange": "^6.0.0",
"postcss-flexbugs-fixes": "^3.3.1",
"postcss-loader": "^2.1.5",
"pre-commit": "^1.2.2",
"prettier": "^1.17.1",
"sass-loader": "^7.0.1",
"script-loader": "^0.7.2",
"style-loader": "^0.21.0",
"url-loader": "^1.0.1",
"webpack": "^4.10.1",
"webpack-cli": "^3.0.2",
"webpack-dev-server": "^3.1.4",
"webpack-shell-plugin": "^0.5.0"
},
"dependencies": {
"zepto": "^1.2.0"
}
}