-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·85 lines (85 loc) · 2.38 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
84
85
{
"private": true,
"name": "wp-base-plugin",
"version": "0.0.1",
"scripts": {
"format": "prettier --write \"**/*.{js,json,scss,html,md}\"",
"lint": "npm run -s lint:js && npm run -s lint:scss",
"lint:js": "eslint resources/assets/js/**/*.js",
"lint:scss": "stylelint \"resources/assets/scss/**/*.scss\"",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules --env.production",
"start": "npm run dev",
"dev": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --env.development",
"test": "npm run -s lint"
},
"author": "_author",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"autoprefixer": "^9.6.1",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^5.2.0",
"css-loader": "^3.1.0",
"cssnano": "^4.1.10",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-loader": "^2.2.1",
"eslint-plugin-prettier": "^3.1.0",
"extract-loader": "^3.1.0",
"file-loader": "^4.1.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"handlebars": "^4.1.2",
"handlebars-loader": "^1.7.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.2",
"imagemin-webpack-plugin": "^2.4.2",
"lint-staged": "^9.2.1",
"mini-css-extract-plugin": "^0.8.0",
"node-sass": "^4.12.0",
"normalize.css": "^8.0.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"ora": "^3.4.0",
"postcss-loader": "^3.0.0",
"prettier": "1.18.2",
"sass-loader": "^7.1.0",
"shelljs": "^0.8.3",
"style-loader": "^0.23.1",
"stylelint": "^10.1.0",
"stylelint-config-recommended-scss": "^3.3.0",
"stylelint-scss": "^3.9.2",
"stylelint-webpack-plugin": "^0.10.5",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^2.1.0",
"webpack": "^4.39.0",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2",
"webpack-manifest-plugin": "^2.0.4",
"webpackbar": "^3.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{js,json,css,md}": [
"prettier --write",
"git add"
],
"*.php": [
"./vendor/bin/php-cs-fixer fix'",
"git add"
]
},
"browserslist": [
"> 1%",
"last 2 version",
"IE 10"
]
}