element-plus/docs/package.json
三咲智子 a5dd21e94a
docs(build): refactor config & support dev without pre build (#3743)
* docs: refactor config

* docs(build): support dev without pre build

* docs: disable sourcemap
2021-09-30 19:26:30 +08:00

27 lines
791 B
JSON

{
"name": "@element-plus/docs",
"version": "0.0.1",
"scripts": {
"dev": "pnpm gen-locale && vitepress dev .",
"build": "cross-env NODE_ENV=production && vitepress build .",
"serve": "cross-env NODE_ENV=production && vitepress serve .",
"gen-locale": "rimraf .vitepress/i18n && sucrase-node .vitepress/build/crowdin-generate.ts"
},
"dependencies": {
"@vueuse/core": "^6.4.0",
"axios": "^0.21.4",
"element-plus": "npm:element-plus@latest",
"marked": "^3.0.4",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0"
},
"devDependencies": {
"@crowdin/cli": "^3.6.5",
"@types/markdown-it": "^12.2.1",
"markdown-it": "^12.2.0",
"markdown-it-container": "^3.0.0",
"vite-plugin-inspect": "^0.3.7",
"vitepress": "~0.18.1"
}
}