mirror of
https://github.com/doocs/md.git
synced 2024-10-30 15:57:50 +08:00
1483ebaf79
- 支持 minio 图床,移除 Gitee 图床 #131 #146 - 支持批量上传图片 #144 - 新增 docker 镜像部署 #doocs/docker-md - 修复 prettier, cheerio 等依赖包版本问题 #140 - 其他小部分优化
108 lines
2.7 KiB
JSON
108 lines
2.7 KiB
JSON
{
|
|
"name": "md",
|
|
"version": "1.5.8",
|
|
"private": false,
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"lint": "vue-cli-service lint src && vue-cli-service lint mm",
|
|
"start": "npm run lint -- --fix && run-p serve mm",
|
|
"serve": "vue-cli-service serve",
|
|
"build:h5-netlify": "cross-env SERVER_ENV=NETLIFY vue-cli-service build",
|
|
"build": "vue-cli-service build",
|
|
"build-cli": "npm run build && npx shx rm -rf md-cli/dist && npx shx rm -rf dist/**/*.map && npx shx cp -r dist md-cli/ && cd md-cli && npm pack",
|
|
"mm": "npx mockm --cwd=mm"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"plugin:vue/essential",
|
|
"eslint:recommended",
|
|
"@vue/prettier"
|
|
],
|
|
"parserOptions": {
|
|
"parser": "babel-eslint"
|
|
},
|
|
"ignorePatterns": [
|
|
"src/assets/scripts/renderers"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"singleQuote": true,
|
|
"semi": false
|
|
}
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"backtick"
|
|
],
|
|
"no-unused-vars": "off",
|
|
"no-console": "off",
|
|
"no-debugger": "off"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@vue/shared": "^3.2.26",
|
|
"ali-oss": "^6.16.0",
|
|
"axios": "^0.24.0",
|
|
"buffer-from": "^1.1.2",
|
|
"codemirror": "^5.65.0",
|
|
"core-js": "^3.20.2",
|
|
"cos-js-sdk-v5": "^1.3.4",
|
|
"crypto-js": "^4.1.1",
|
|
"element-ui": "^2.15.6",
|
|
"form-data": "4.0.0",
|
|
"highlight.js": "^11.3.1",
|
|
"jquery": "^3.6.0",
|
|
"cheerio": "1.0.0-rc.10",
|
|
"juice": "^8.0.0",
|
|
"marked": "^4.0.10",
|
|
"minio": "^7.0.26",
|
|
"node-fetch": "^3.1.0",
|
|
"prettier": "2.5.1",
|
|
"prettify": "^0.1.7",
|
|
"qiniu-js": "^3.4.0",
|
|
"regenerator-runtime": "^0.13.9",
|
|
"uuid": "^8.3.2",
|
|
"vue": "^2.6.14",
|
|
"vue-router": "^3.5.3",
|
|
"vuex": "^3.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/cli-plugin-eslint": "^4.5.12",
|
|
"@vue/cli-plugin-router": "^4.5.12",
|
|
"@vue/cli-plugin-vuex": "^4.5.12",
|
|
"@vue/eslint-config-prettier": "^6.0.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"husky": "^7.0.4",
|
|
"@vue/cli-plugin-babel": "~4.5.15",
|
|
"@vue/cli-service": "~4.5.15",
|
|
"async-validator": "^4.0.7",
|
|
"babel-plugin-import": "^1.13.3",
|
|
"cache-loader": "^4.1.0",
|
|
"cross-env": "^7.0.3",
|
|
"jest": "^27.4.7",
|
|
"less": "^4.1.2",
|
|
"less-loader": "^7.3.0",
|
|
"mini-types": "*",
|
|
"miniprogram-api-typings": "*",
|
|
"mockm": "^1.1.26-alpha.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-comment": "^2.0.0",
|
|
"raw-loader": "^4.0.2",
|
|
"shx": "^0.3.4",
|
|
"vue-template-compiler": "^2.6.14"
|
|
}
|
|
}
|