|
10 | 10 | "node": ">=14" |
11 | 11 | }, |
12 | 12 | "scripts": { |
13 | | - "build": "tsc -b --clean && tsc -b", |
| 13 | + "build": "run-s build:*", |
| 14 | + "build:src": "tsc -b --clean && tsc -b", |
| 15 | + "build:demo": "wp --config demo/webpack.config.js", |
14 | 16 | "lint": "tsc -b && eslint . --report-unused-disable-directives", |
| 17 | + "start": "npm run build:demo && npx http-server ./demo/lib/ -c-1 -p 80", |
15 | 18 | "test": "jest --coverage" |
16 | 19 | }, |
17 | 20 | "devDependencies": { |
18 | 21 | "@types/jest": "^26.0.5", |
19 | 22 | "@typescript-eslint/eslint-plugin": "^4.23.0", |
20 | 23 | "@typescript-eslint/parser": "^4.23.0", |
| 24 | + "clean-webpack-plugin": "^4.0.0-alpha.0", |
| 25 | + "copy-webpack-plugin": "^9.0.0", |
21 | 26 | "eslint": "^7.26.0", |
22 | 27 | "eslint-config-airbnb-base": "^14.2.1", |
23 | 28 | "eslint-config-prettier": "^6.11.0", |
24 | 29 | "eslint-import-resolver-typescript": "^2.0.0", |
25 | 30 | "eslint-plugin-import": "^2.23.0", |
26 | 31 | "eslint-plugin-jest": "^23.18.0", |
27 | 32 | "jest": "^26.6.3", |
| 33 | + "npm-run-all": "^4.1.5", |
28 | 34 | "prettier": "^2.0.5", |
29 | 35 | "ts-jest": "^26.5.6", |
30 | | - "typescript": "^4.2.4" |
| 36 | + "ts-loader": "^9.2.1", |
| 37 | + "typescript": "^4.2.4", |
| 38 | + "webpack": "^5.37.1", |
| 39 | + "webpack-nano": "^1.1.1" |
31 | 40 | } |
32 | 41 | } |
0 commit comments