2020-01-13 22:16:04 +08:00
|
|
|
{
|
2021-02-28 14:50:52 +08:00
|
|
|
"name": "md",
|
2024-08-18 19:49:16 +08:00
|
|
|
"type": "module",
|
2023-12-07 11:44:52 +08:00
|
|
|
"version": "1.6.0",
|
2021-02-28 17:13:17 +08:00
|
|
|
"private": false,
|
2020-08-29 11:55:16 +08:00
|
|
|
"scripts": {
|
2024-08-18 19:49:16 +08:00
|
|
|
"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",
|
2024-09-03 08:20:43 +08:00
|
|
|
"build:analyze": "cross-env ANALYZE=true vite build",
|
2024-08-18 19:49:16 +08:00
|
|
|
"preview": "npm run build && vite preview",
|
2023-12-07 11:44:52 +08:00
|
|
|
"release:cli": "node ./bin/release.js",
|
2024-08-18 19:49:16 +08:00
|
|
|
"lint": "eslint . --fix",
|
|
|
|
"type-check": "vue-tsc --build --force",
|
|
|
|
"postinstall": "simple-git-hooks"
|
2020-08-29 11:55:16 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-08-18 19:49:16 +08:00
|
|
|
"@element-plus/icons-vue": "^2.3.1",
|
2024-08-21 08:56:22 +08:00
|
|
|
"@vueuse/core": "^11.0.1",
|
|
|
|
"axios": "^1.7.4",
|
2021-11-30 16:56:57 +08:00
|
|
|
"buffer-from": "^1.1.2",
|
2024-08-18 19:49:16 +08:00
|
|
|
"class-variance-authority": "^0.7.0",
|
|
|
|
"clsx": "^2.1.1",
|
2024-08-19 09:18:10 +08:00
|
|
|
"codemirror": "^5.65.17",
|
2024-08-21 08:56:22 +08:00
|
|
|
"core-js": "^3.38.1",
|
2024-08-19 09:18:10 +08:00
|
|
|
"cos-js-sdk-v5": "^1.8.4",
|
2023-10-28 17:12:49 +08:00
|
|
|
"crypto-js": "^4.2.0",
|
2024-08-30 08:14:35 +08:00
|
|
|
"csstype": "^3.1.3",
|
2024-08-21 08:56:22 +08:00
|
|
|
"element-plus": "^2.8.0",
|
2024-08-30 08:14:35 +08:00
|
|
|
"es-toolkit": "^1.16.0",
|
2021-11-30 16:56:57 +08:00
|
|
|
"form-data": "4.0.0",
|
2024-08-21 08:56:22 +08:00
|
|
|
"highlight.js": "^11.10.0",
|
2024-08-21 13:11:38 +08:00
|
|
|
"juice": "^8.0.0",
|
2024-08-21 08:56:22 +08:00
|
|
|
"katex": "^0.16.11",
|
|
|
|
"lucide-vue-next": "^0.428.0",
|
2024-08-27 19:47:02 +08:00
|
|
|
"marked": "^14.1.0",
|
2024-09-04 13:00:42 +08:00
|
|
|
"marked-katex-extension": "^5.1.2",
|
2024-08-27 22:29:41 +08:00
|
|
|
"mermaid": "^11.0.2",
|
2024-08-19 09:18:10 +08:00
|
|
|
"minio": "7.1.3",
|
2024-08-21 08:56:22 +08:00
|
|
|
"node-fetch": "^3.3.2",
|
2024-08-18 19:49:16 +08:00
|
|
|
"pinia": "^2.2.2",
|
2024-08-21 08:56:22 +08:00
|
|
|
"qiniu-js": "^3.4.2",
|
2024-08-18 19:49:16 +08:00
|
|
|
"radix-vue": "^1.9.4",
|
|
|
|
"tailwind-merge": "^2.5.2",
|
|
|
|
"tailwindcss-animate": "^1.0.7",
|
2024-08-31 11:27:26 +08:00
|
|
|
"tiny-oss": "^0.5.1",
|
2024-08-19 09:18:10 +08:00
|
|
|
"uuid": "^10.0.0",
|
2024-08-21 08:56:22 +08:00
|
|
|
"vue": "^3.4.38"
|
2020-08-29 11:55:16 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-08-21 08:56:22 +08:00
|
|
|
"@antfu/eslint-config": "2.26.0",
|
2024-08-18 19:49:16 +08:00
|
|
|
"@types/codemirror": "^5.60.15",
|
|
|
|
"@types/marked": "^4.0.0",
|
2024-08-21 08:56:22 +08:00
|
|
|
"@types/node": "^22.4.1",
|
|
|
|
"@unocss/eslint-plugin": "^0.62.2",
|
|
|
|
"@vitejs/plugin-vue": "^5.1.2",
|
2024-08-18 19:49:16 +08:00
|
|
|
"autoprefixer": "^10.4.20",
|
2021-04-25 10:59:25 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2024-08-21 08:56:22 +08:00
|
|
|
"eslint": "^9.9.0",
|
2024-08-18 19:49:16 +08:00
|
|
|
"eslint-plugin-format": "^0.1.2",
|
|
|
|
"less": "^4.2.0",
|
2021-11-28 16:55:24 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-08-31 10:48:40 +08:00
|
|
|
"postcss": "^8.4.41",
|
2024-08-30 15:17:45 +08:00
|
|
|
"prettier": "^3.3.3",
|
2024-09-03 08:20:43 +08:00
|
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
2022-01-15 10:25:22 +08:00
|
|
|
"shx": "^0.3.4",
|
2024-08-18 19:49:16 +08:00
|
|
|
"simple-git-hooks": "^2.11.1",
|
|
|
|
"tailwindcss": "^3.4.10",
|
2024-08-21 08:56:22 +08:00
|
|
|
"typescript": "^5.5.4",
|
|
|
|
"unocss": "^0.62.2",
|
2024-09-03 08:20:43 +08:00
|
|
|
"unplugin-auto-import": "^0.18.2",
|
|
|
|
"unplugin-vue-components": "^0.27.4",
|
2024-08-21 08:56:22 +08:00
|
|
|
"vite": "^5.4.2",
|
2024-08-18 19:49:16 +08:00
|
|
|
"vite-plugin-node-polyfills": "^0.22.0",
|
2024-08-31 10:48:40 +08:00
|
|
|
"vite-plugin-vue-devtools": "^7.3.9",
|
2024-08-21 08:56:22 +08:00
|
|
|
"vue-tsc": "^2.0.29"
|
2024-08-18 19:49:16 +08:00
|
|
|
},
|
|
|
|
"simple-git-hooks": {
|
|
|
|
"pre-commit": "npx lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*": "npm run lint"
|
2020-08-29 11:55:16 +08:00
|
|
|
}
|
|
|
|
}
|