mirror of
https://github.com/doocs/md.git
synced 2026-08-30 17:35:08 +08:00
110 lines
3.7 KiB
JSON
110 lines
3.7 KiB
JSON
{
|
|
"name": "@md/web",
|
|
"type": "module",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22.16.0"
|
|
},
|
|
"scripts": {
|
|
"start": "pnpm run dev",
|
|
"dev": "vite --host",
|
|
"build": "run-p type-check \"build:only {@}\" --",
|
|
"build:only": "vite build",
|
|
"build:h5-netlify": "run-p type-check \"build:h5-netlify:only {@}\" --",
|
|
"build:h5-netlify:only": "cross-env SERVER_ENV=NETLIFY vite build",
|
|
"build:utools": "cross-env SERVER_ENV=UTOOLS vite build --outDir ../utools/dist --emptyOutDir",
|
|
"build:cli": "pnpm run build && npx shx rm -rf packages/md-cli/dist && npx shx rm -rf dist/**/*.map && npx shx cp -r dist packages/md-cli/ && cd packages/md-cli && npm pack",
|
|
"build:analyze": "cross-env ANALYZE=true vite build",
|
|
"compile:extension": "pnpm --prefix ./src/extension run compile",
|
|
"preview": "pnpm run build && vite preview",
|
|
"wrangler:dev": "cross-env CF_WORKERS=1 vite --host",
|
|
"wrangler:deploy": "cross-env CF_WORKERS=1 pnpm run build:h5-netlify && wrangler deploy",
|
|
"release:cli": "node ./scripts/release.js",
|
|
"ext:dev": "wxt",
|
|
"ext:zip": "wxt zip",
|
|
"firefox:dev": "wxt -b firefox",
|
|
"firefox:zip": "wxt zip -b firefox",
|
|
"type-check": "vue-tsc --build --force",
|
|
"postinstall": "wxt prepare",
|
|
"package:extension": "pnpm --prefix ./src/extension run package"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.911.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.911.0",
|
|
"@exercism/highlightjs-gdscript": "^0.0.1",
|
|
"@md/core": "workspace:*",
|
|
"@md/shared": "workspace:*",
|
|
"@ssttevee/multipart-parser": "^0.1.9",
|
|
"@vee-validate/yup": "^4.15.0",
|
|
"@vueuse/core": "^13.9.0",
|
|
"axios": "^1.12.2",
|
|
"browser-image-compression": "^2.0.2",
|
|
"buffer-from": "^1.1.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"codemirror": "^6.0.1",
|
|
"core-js": "^3.46.0",
|
|
"cos-js-sdk-v5": "^1.8.7",
|
|
"crypto-js": "^4.2.0",
|
|
"csstype": "^3.1.3",
|
|
"es-toolkit": "^1.40.0",
|
|
"front-matter": "^4.0.2",
|
|
"highlight.js": "^11.11.1",
|
|
"html-to-image": "^1.11.13",
|
|
"isomorphic-dompurify": "^2.29.0",
|
|
"juice": "^11.0.3",
|
|
"lucide-vue-next": "^0.545.0",
|
|
"marked": "^16.4.0",
|
|
"node-fetch": "^3.3.2",
|
|
"pinia": "^3.0.1",
|
|
"qiniu-js": "^3.4.2",
|
|
"radix-vue": "^1.9.12",
|
|
"reading-time": "^1.5.0",
|
|
"reka-ui": "^2.5.1",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-stringify": "^11.0.0",
|
|
"tailwind-merge": "^3.3.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"tiny-oss": "^0.5.1",
|
|
"tw-animate-css": "^1.4.0",
|
|
"unified": "^11.0.5",
|
|
"unist-util-visit": "^5.0.0",
|
|
"uuid": "^13.0.0",
|
|
"vee-validate": "^4.15.0",
|
|
"vue": "^3.5.22",
|
|
"vue-pick-colors": "^1.8.0",
|
|
"vue-sonner": "^2.0.9",
|
|
"yup": "^1.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "^1.13.13",
|
|
"@cloudflare/workers-types": "^4.20251011.0",
|
|
"@md/config": "workspace:*",
|
|
"@tailwindcss/postcss": "^4.1.14",
|
|
"@tailwindcss/vite": "^4.1.14",
|
|
"@types/buffer-from": "^1.1.3",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/mdast": "^4.0.4",
|
|
"@types/unist": "^3.0.3",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"less": "^4.4.2",
|
|
"linkedom": "^0.18.12",
|
|
"ohash": "^2.0.11",
|
|
"postcss": "^8.5.1",
|
|
"rollup": "^4.52.3",
|
|
"rollup-plugin-visualizer": "^6.0.4",
|
|
"shx": "^0.4.0",
|
|
"tailwindcss": "^4.1.14",
|
|
"unplugin-auto-import": "^20.2.0",
|
|
"unplugin-vue-components": "^29.1.0",
|
|
"vite": "^7.1.7",
|
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
"vite-plugin-pwa": "^1.1.0",
|
|
"vite-plugin-radar": "^0.10.0",
|
|
"vite-plugin-vue-devtools": "^8.0.2",
|
|
"vue-tsc": "^3.1.0",
|
|
"wrangler": "^4.43.0",
|
|
"wxt": "^0.20.11"
|
|
}
|
|
}
|