-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
59 lines (59 loc) · 1.8 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
{
"private": true,
"scripts": {
"preinstall": "composer install",
"start": "npm run --silent watch",
"watch": "webpack -w",
"test": "npm run --silent lint",
"lint": "npm run lint:styles && npm run lint:scripts && npm run lint:php",
"lint:scripts": "npx eslint ./src/scripts/**/*.js",
"lint:styles": "npx stylelint ./src/styles/**/*.scss --syntax scss",
"lint:php": "./vendor/bin/phpcs",
"i18n": "npm run i18n:textdomain && npm run i18n:pot",
"i18n:textdomain": "npx wpi18n addtextdomain --exclude=vendor,node_modules",
"i18n:pot": "npx wpi18n makepot"
},
"devDependencies": {
"@masonite/eslint-config-base": "0.0.11",
"@masonite/stylelint-config": "^1.4.0",
"autoprefixer": "^9.6.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-preset-env": "^1.7.0",
"copy-webpack-plugin": "^5.0.3",
"css-loader": "^3.0.0",
"eslint": "^5.16.0",
"eslint-plugin-import": "^2.17.3",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^4.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"husky": "^2.4.1",
"mini-css-extract-plugin": "^0.7.0",
"node-sass": "^4.14.1",
"node-wp-i18n": "^1.2.3",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.6.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"stylelint": "^10.1.0",
"stylelint-config-wordpress": "^14.0.0",
"stylelint-scss": "^3.8.0",
"stylelint-webpack-plugin": "^0.10.5",
"webpack": "^4.34.0",
"webpack-cli": "^3.3.4",
"webpack-livereload-plugin": "^2.2.0"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie < 11",
"not op_mini all"
]
}