md/package.json
2024-08-19 09:18:10 +08:00

79 lines
2.2 KiB
JSON

{
"name": "md",
"type": "module",
"version": "1.6.0",
"private": false,
"scripts": {
"start": "npm run dev",
"dev": "vite --host",
"build": "run-p type-check \"build:only {@}\" --",
"build:only": "vite build",
"build:h5-netlify": "cross-env SERVER_ENV=NETLIFY vite build",
"build:cli": "npm run build && npm run shx rm -rf md-cli/dist && npm run shx rm -rf dist/**/*.map && npm run shx cp -r dist md-cli/ && cd md-cli && npm run pack",
"preview": "npm run build && vite preview",
"release:cli": "node ./bin/release.js",
"lint": "eslint . --fix",
"type-check": "vue-tsc --build --force",
"postinstall": "simple-git-hooks"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"@vueuse/core": "^10.11.0",
"ali-oss": "^6.17.1",
"axios": "^1.6.0",
"buffer-from": "^1.1.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"codemirror": "^5.65.17",
"core-js": "^3.34.0",
"cos-js-sdk-v5": "^1.8.4",
"crypto-js": "^4.2.0",
"element-plus": "^2.7.6",
"form-data": "4.0.0",
"highlight.js": "^11.6.0",
"juice": "^8.0.0",
"katex": "^0.16.10",
"lucide-vue-next": "^0.427.0",
"marked": "^4.0.18",
"marked-katex-extension": "^5.1.0",
"minio": "7.1.3",
"node-fetch": "^3.2.10",
"pinia": "^2.2.2",
"qiniu-js": "^3.4.1",
"radix-vue": "^1.9.4",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"uuid": "^10.0.0",
"vue": "^3.4.29"
},
"devDependencies": {
"@antfu/eslint-config": "2.21.3",
"@types/codemirror": "^5.60.15",
"@types/marked": "^4.0.0",
"@types/node": "^20.14.10",
"@unocss/eslint-plugin": "^0.61.2",
"@vitejs/plugin-vue": "^5.0.5",
"autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-plugin-format": "^0.1.2",
"less": "^4.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"simple-git-hooks": "^2.11.1",
"tailwindcss": "^3.4.10",
"typescript": "^5.2.2",
"unocss": "^0.61.2",
"vite": "^5.4.0",
"vite-plugin-node-polyfills": "^0.22.0",
"vue-tsc": "^2.0.21"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "npm run lint"
}
}