doc: update site script

pull/4671/head
tangjinzhou 3 years ago
parent 1bf2a2a048
commit b32053b2ec

@ -51,7 +51,7 @@
"routes": "node site/scripts/genrateRoutes.js",
"tsc": "tsc --noEmit",
"site": "yarn routes && ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/",
"pub:site": "npm run site && node scripts/pushToOSS.js"
"pub:site": "npm run site && node site/scripts/pushToOSS.js"
},
"repository": {
"type": "git",
@ -114,6 +114,7 @@
"@vue/test-utils": "^2.0.0-0",
"@webpack-cli/serve": "^1.3.1",
"acorn": "^8.0.0",
"ali-oss": "^6.16.0",
"autoprefixer": "^10.2.0",
"axios": "^0.21.0",
"babel-eslint": "^10.0.1",

Loading…
Cancel
Save