vue-cli3生成的package.json说明
{"name": "resource-web","version": "0.1.0","private": true,//npm命令"scripts": {//项目启动,就是我们常用的npm run serve//如果下面这行这么写"dev": "vue-cli-service serve"//那么我们启动的时候就 npm run dev...
·
{
"name": "resource-web",
"version": "0.1.0",
"private": true,
//npm命令
"scripts": {
//项目启动,就是我们常用的npm run serve
//如果下面这行这么写 "dev": "vue-cli-service serve"
//那么我们启动的时候就 npm run dev
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"core-js": "^2.6.5",
"vue": "^2.6.10",
"vue-router": "^3.0.3",
"vuex": "^3.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.6.0",
"@vue/cli-plugin-eslint": "^3.6.0",
"@vue/cli-service": "^3.6.0",
"@vue/eslint-config-prettier": "^4.0.1",
"babel-eslint": "^10.0.1",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"lint-staged": "^8.1.5",
"vue-template-compiler": "^2.5.21"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"@vue/prettier"
],
"rules": {},
"parserOptions": {
"parser": "babel-eslint"
}
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,vue}": [
"vue-cli-service lint",
"git add"
]
}
}
```**加粗样式**
更多推荐
已为社区贡献31条内容
所有评论(0)