forked from htmlburger/wpemerge-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.46 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
{
"engines": {
"node": ">=6.9.1"
},
"scripts": {
"start": "webpack --colors",
"dev": "cross-env NODE_ENV=development npm run start --color=always -- --config resources/build/webpack.development.js",
"build": "cross-env NODE_ENV=production npm run start --color=always -- --config resources/build/webpack.production.js",
"lint": "run-s -cl lint:wpcs lint:scripts lint:styles",
"lint-fix": "run-s -cl lint-fix:wpcs lint-fix:scripts lint-fix:styles",
"lint:wpcs": "./wpcs/vendor/bin/phpcs --colors --standard=WordPress --ignore=app/src/* app/ theme/",
"lint:scripts": "eslint --color ./resources/scripts/**",
"lint:styles": "stylelint --color ./resources/styles/**",
"lint-fix:wpcs": "./wpcs/vendor/bin/phpcbf --colors --standard=WordPress --ignore=app/src/* app/ theme/",
"lint-fix:scripts": "eslint --color --fix ./resources/scripts/**",
"lint-fix:styles": "stylelint --color --fix ./resources/styles/**",
"i18n": "run-s -cl i18n:textdomain i18n:pot",
"i18n:textdomain": "wpi18n addtextdomain --exclude=dist,docs,node_modules,resources,vendor,wpcs --textdomain=app",
"i18n:pot": "wpi18n makepot --exclude=dist,docs,node_modules,resources,vendor,wpcs --main-file=theme/style.css --domain-path=languages/ --pot-file=app.pot --type=wp-theme --textdomain=app"
},
"dependencies": {
"airbnb-browser-shims": "^2.1.0",
"autoprefixer": "^8.4.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^5.1.4",
"css-loader": "^0.28.11",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"imagemin-mozjpeg": "^7.0.0",
"imagemin-webpack-plugin": "^2.1.1",
"import-glob": "^1.5.0",
"loader-utils": "^1.1.0",
"node-sass": "^4.9.0",
"npm-run-all": "^4.1.3",
"postcss-loader": "^2.1.4",
"sass-loader": "^7.0.1",
"style-loader": "^0.21.0",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15",
"webpack-spritesmith": "^0.4.1"
},
"devDependencies": {
"browser-sync": "^2.23.7",
"browser-sync-webpack-plugin": "^2.2.2",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.8.2",
"node-wp-i18n": "^1.2.1",
"stylelint": "^9.2.1",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-order": "^0.8.1",
"stylelint-scss": "^3.1.0"
}
}