2020-01-13 22:16:04 +08:00
|
|
|
{
|
2021-02-28 14:50:52 +08:00
|
|
|
"name": "md",
|
2022-05-25 21:15:48 +08:00
|
|
|
"version": "1.5.8",
|
2021-02-28 17:13:17 +08:00
|
|
|
"private": false,
|
2020-08-29 11:55:16 +08:00
|
|
|
"scripts": {
|
2022-02-28 19:09:39 +08:00
|
|
|
"prepare": "husky install",
|
|
|
|
"lint": "vue-cli-service lint src && vue-cli-service lint mm",
|
2022-03-21 17:56:14 +08:00
|
|
|
"start": "npm run lint -- --fix && run-p serve mm",
|
2021-11-23 11:07:28 +08:00
|
|
|
"serve": "vue-cli-service serve",
|
|
|
|
"build:h5-netlify": "cross-env SERVER_ENV=NETLIFY vue-cli-service build",
|
|
|
|
"build": "vue-cli-service build",
|
2021-11-28 20:11:00 +08:00
|
|
|
"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",
|
2021-11-25 11:54:29 +08:00
|
|
|
"mm": "npx mockm --cwd=mm"
|
2020-08-29 11:55:16 +08:00
|
|
|
},
|
2022-02-28 19:09:39 +08:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
2020-08-29 11:55:16 +08:00
|
|
|
"dependencies": {
|
2022-01-15 10:25:22 +08:00
|
|
|
"@vue/shared": "^3.2.26",
|
2021-11-23 14:22:01 +08:00
|
|
|
"ali-oss": "^6.16.0",
|
2021-11-30 16:56:57 +08:00
|
|
|
"axios": "^0.24.0",
|
|
|
|
"buffer-from": "^1.1.2",
|
2022-01-15 10:25:22 +08:00
|
|
|
"codemirror": "^5.65.0",
|
|
|
|
"core-js": "^3.20.2",
|
|
|
|
"cos-js-sdk-v5": "^1.3.4",
|
2021-11-30 16:56:57 +08:00
|
|
|
"crypto-js": "^4.1.1",
|
|
|
|
"element-ui": "^2.15.6",
|
|
|
|
"form-data": "4.0.0",
|
2021-12-03 14:35:25 +08:00
|
|
|
"highlight.js": "^11.3.1",
|
2021-04-25 10:59:25 +08:00
|
|
|
"jquery": "^3.6.0",
|
2022-05-23 23:46:27 +08:00
|
|
|
"cheerio": "1.0.0-rc.10",
|
2021-11-30 16:56:57 +08:00
|
|
|
"juice": "^8.0.0",
|
2022-01-15 10:25:22 +08:00
|
|
|
"marked": "^4.0.10",
|
2022-02-14 00:12:07 +08:00
|
|
|
"minio": "^7.0.26",
|
2021-12-03 15:50:23 +08:00
|
|
|
"node-fetch": "^3.1.0",
|
2022-03-21 17:21:22 +08:00
|
|
|
"prettier": "2.5.1",
|
2020-08-29 11:55:16 +08:00
|
|
|
"prettify": "^0.1.7",
|
2021-11-23 14:22:01 +08:00
|
|
|
"qiniu-js": "^3.4.0",
|
2021-11-30 16:56:57 +08:00
|
|
|
"regenerator-runtime": "^0.13.9",
|
2021-04-25 10:59:25 +08:00
|
|
|
"uuid": "^8.3.2",
|
2021-11-30 16:56:57 +08:00
|
|
|
"vue": "^2.6.14",
|
|
|
|
"vue-router": "^3.5.3",
|
|
|
|
"vuex": "^3.6.2"
|
2020-08-29 11:55:16 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-28 19:09:39 +08:00
|
|
|
"@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",
|
2021-11-30 16:56:57 +08:00
|
|
|
"@vue/cli-plugin-babel": "~4.5.15",
|
|
|
|
"@vue/cli-service": "~4.5.15",
|
|
|
|
"async-validator": "^4.0.7",
|
2021-04-25 10:59:25 +08:00
|
|
|
"babel-plugin-import": "^1.13.3",
|
2021-12-03 14:35:25 +08:00
|
|
|
"cache-loader": "^4.1.0",
|
2021-04-25 10:59:25 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2022-01-15 10:25:22 +08:00
|
|
|
"jest": "^27.4.7",
|
2021-11-30 16:56:57 +08:00
|
|
|
"less": "^4.1.2",
|
|
|
|
"less-loader": "^7.3.0",
|
2021-02-28 14:50:52 +08:00
|
|
|
"mini-types": "*",
|
|
|
|
"miniprogram-api-typings": "*",
|
2022-02-12 21:00:34 +08:00
|
|
|
"mockm": "^1.1.26-alpha.3",
|
2021-11-28 16:55:24 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-02-28 14:50:52 +08:00
|
|
|
"postcss-comment": "^2.0.0",
|
2021-11-24 13:35:35 +08:00
|
|
|
"raw-loader": "^4.0.2",
|
2022-01-15 10:25:22 +08:00
|
|
|
"shx": "^0.3.4",
|
2021-11-30 16:56:57 +08:00
|
|
|
"vue-template-compiler": "^2.6.14"
|
2020-08-29 11:55:16 +08:00
|
|
|
}
|
|
|
|
}
|