|
10 | 10 | "reset": "rm -rf node_modules",
|
11 | 11 | "setup": "yarn reset && yarn",
|
12 | 12 | "clean": "rm -rf dist",
|
13 |
| - "dev": "rspack serve --watch --mode=development", |
14 |
| - "build": "yarn clean && rspack build --mode=production", |
| 13 | + "dev": "rspack serve --config=tools/rspack.config.ts --watch", |
| 14 | + "build:ssr": "rspack build --config=tools/rspack.ssr.config.ts", |
| 15 | + "build": "yarn clean && yarn build:ssr && rspack build --config=tools/rspack.config.ts && rm -rf dist/ssr", |
| 16 | + "new": "ts-node tools/addNewProblem.ts", |
15 | 17 | "lint": "eslint --fix --color --cache --quiet .",
|
16 | 18 | "prepare": "husky install"
|
17 | 19 | },
|
|
52 | 54 | "devDependencies": {
|
53 | 55 | "@arco-plugins/unplugin-react": "^1.0.0-alpha.1",
|
54 | 56 | "@rspack/cli": "^0.3.5",
|
| 57 | + "@rspack/plugin-html": "^0.3.11", |
55 | 58 | "@svgr/webpack": "^8.1.0",
|
56 | 59 | "@types/event-emitter": "^0.3.4",
|
57 | 60 | "@types/lodash.debounce": "^4.0.7",
|
58 | 61 | "@types/node": "^20.8.9",
|
| 62 | + "@types/prompts": "^2.4.9", |
59 | 63 | "@types/react": "^17.0.67",
|
60 | 64 | "@types/react-copy-to-clipboard": "^5.0.6",
|
61 | 65 | "@types/react-dom": "^17.0.21",
|
|
80 | 84 | "lint-staged": "^14.0.1",
|
81 | 85 | "monaco-editor": "^0.44.0",
|
82 | 86 | "prettier": "^3.0.3",
|
| 87 | + "prompts": "^2.4.2", |
83 | 88 | "style-loader": "^3.3.3",
|
84 | 89 | "ts-node": "^10.9.1",
|
85 | 90 | "typescript": "^5.2.2"
|
|
0 commit comments