|
36 | 36 | "precompile": "npm run version & npm run collect-token-statistic & npm run token-meta",
|
37 | 37 | "pretest": "npm run version",
|
38 | 38 | "predist": "npm run version",
|
39 |
| - "presite": "npm run version & npm run routes & npm run collect-token-statistic & npm run token-meta", |
| 39 | + "prebuild": "npm run version & npm run routes & npm run collect-token-statistic & npm run token-meta", |
40 | 40 | "dev": "npm run routes && vite serve site",
|
41 | 41 | "fast-dev": "npm run routes && vite serve site",
|
42 | 42 | "test": "cross-env NODE_ENV=test jest --config .jest.js",
|
|
60 | 60 | "routes": "node site/scripts/genrateRoutes.js",
|
61 | 61 | "tsc": "tsc --noEmit",
|
62 | 62 | "vue-tsc": "vue-tsc --noEmit",
|
63 |
| - "site": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/", |
| 63 | + "build": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build site --base=/", |
64 | 64 | "pub:site": "npm run site && node site/scripts/pushToOSS.js",
|
65 | 65 | "prepare": "husky install",
|
66 | 66 | "version": "node ./scripts/generate-version",
|
|
148 | 148 | "babel-plugin-transform-require-context": "^0.1.1",
|
149 | 149 | "case-sensitive-paths-webpack-plugin": "^2.1.2",
|
150 | 150 | "chalk": "^4.1.1",
|
151 |
| - "cheerio": "^1.0.0-rc.2", |
152 | 151 | "codecov": "^3.0.0",
|
153 | 152 | "codesandbox": "^2.2.3",
|
154 | 153 | "colorful": "^2.1.0",
|
|
0 commit comments