|
22 | 22 | ], |
23 | 23 | "scripts": { |
24 | 24 | "prebuild": "rimraf dist docs", |
25 | | - "postbuild": "rimraf dist/stats.development.json dist/stats.production.json", |
26 | 25 | "build": "npm run build:bundle && npm run build:plugin && npm run build:scss && npm run build:docs", |
27 | 26 | "build:bundle": "npm run build:bundle:dev && npm run build:bundle:prod", |
28 | 27 | "build:bundle:base": "node --max_old_space_size=8192 ./node_modules/.bin/webpack --config bundle/webpack.config.js", |
29 | 28 | "build:bundle:dev": "npm run build:bundle:base -- --mode=development", |
30 | 29 | "build:bundle:prod": "npm run build:bundle:base -- --mode=production", |
31 | 30 | "build:plugin": "webpack --config vendor-webpack-plugin/webpack.config.js", |
32 | 31 | "build:scss": "./scripts/build-scss.sh", |
33 | | - "build:docs": "npm run build:docs:analyze && npm run build:docs:scss", |
| 32 | + "build:docs": "npm run build:docs:scss", |
34 | 33 | "build:docs:scss": "./scripts/build-scss-docs.sh", |
35 | | - "build:docs:analyze": "npm run build:docs:analyze:dev && npm run build:docs:analyze:prod", |
36 | | - "build:docs:analyze:dev": "webpack-bundle-analyzer --mode static -r docs/stats.development.html dist/stats.development.json", |
37 | | - "build:docs:analyze:prod": "webpack-bundle-analyzer --mode static -r docs/stats.production.html dist/stats.production.json", |
38 | 34 | "deploy:docs": "./scripts/deploy-docs.sh", |
39 | 35 | "postpublish": "npm run deploy:docs" |
40 | 36 | }, |
|
0 commit comments