当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 2.60 KB
一键复制 编辑 原始数据 按行查看 历史
Sam-meng 提交于 2021-03-28 00:04 . stylelint
{
"name": "vue-cli-template-4.5",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "npm run serve",
"serve": "vue-cli-service serve --open",
"build:stage": "vue-cli-service build --mode=production-stage --modern",
"build:prod": "vue-cli-service build --modern",
"build": "npm run build:prod",
"test:unit": "vue-cli-service test:unit",
"lint": "stylelint '**/*.{css,less,html,vue}' --fix && vue-cli-service lint",
"dist": "node ./static-server.js"
},
"//dependencies说明": "@H5: vconsole; @H5.vant: vant",
"dependencies": {
"axios": "^0.21.1",
"core-js": "^3.9.1",
"date-fns": "^1.30.1",
"downloadjs": "^1.4.7",
"element-ui": "^2.15.1",
"highlight.js": "^10.6.0",
"lodash": "^4.17.21",
"mockjs": "1.1.0",
"normalize.css": "^8.0.1",
"qs": "^6.9.6",
"url-parse": "^1.5.1",
"vant": "^2.12.7",
"vconsole": "^3.4.0",
"vue": "^2.6.12",
"vue-router": "^3.5.1",
"vuex": "^3.6.2"
},
"//devDependencies说明": "@H5: postcss-pxtorem",
"devDependencies": {
"@types/lodash": "^4.14.168",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-unit-jest": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/test-utils": "^1.1.3",
"babel-eslint": "^10.1.0",
"babel-plugin-component": "^1.1.1",
"babel-plugin-lodash": "^3.3.4",
"eslint": "^6.8.0",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^6.2.2",
"express": "^4.17.1",
"http-proxy-middleware": "^1.0.6",
"less": "^3.13.1",
"less-loader": "^5.0.0",
"lint-staged": "^9.5.0",
"open": "^7.4.2",
"postcss-pxtorem": "^5.1.1",
"prettier": "^1.19.1",
"raw-loader": "^4.0.2",
"stylelint": "^13.11.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-order": "^4.1.0",
"svg-sprite-loader": "^4.3.0",
"svgo": "^1.3.2",
"svgo-loader": "^2.2.2",
"vue-template-compiler": "^2.6.12"
},
"//browserslist说明": "@PC & @H5",
"browserslist": [
"> 1%",
"last 2 versions",
"since 2016",
"edge >= 12",
"not ie <= 10",
"not dead",
"Android >= 4",
"iOS >= 8"
],
"jest": {
"preset": "@vue/cli-plugin-unit-jest"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{css,less,html,vue}": [
"stylelint --aei --fix",
"git add"
],
"*.{js,jsx,mjs,vue}": [
"vue-cli-service lint",
"git add"
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化