-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
41 lines (41 loc) · 1.2 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
{
"name": "WordPressBP",
"version": "1.0.0",
"private": true,
"scripts": {
"css": "node etc/build/css.js",
"js": "node etc/build/js.js",
"lang": "node etc/build/lang.js",
"watch:css": "watch 'npm run css' web/app/themes/WordPressBP/css/ --wait=2 --ignoreDotFiles",
"watch:js": "watch 'npm run js' web/app/themes/WordPressBP/js/ --wait=2 --ignoreDotFiles",
"watch": "npm-run-all --parallel --silent watch:*",
"clean": "shx rm -fr build",
"build": "npm-run-all --sequential 'css minify' 'js minify' lang",
"pack": "node etc/deploy/pack.js",
"test": "standard web/app/themes/WordPressBP/js/**/*.js etc/**/*.js",
"predeploy": "npm-run-all --sequential clean build pack",
"deploy": "node etc/deploy/deploy.js",
"postdeploy": "npm run clean",
"deploy:revert": "node etc/deploy/revert.js",
"deploy:init": "node etc/deploy/init.js"
},
"browserslist": "> 1%,last 2 versions,not dead,not ie <= 11",
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread"
]
},
"standard": {
"globals": [
"WordPressBP"
]
}
}