2018-09-26 22:27:42 +08:00
|
|
|
{
|
|
|
|
"name": "dri",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"scripts": {
|
|
|
|
"serve": "vue-cli-service serve",
|
|
|
|
"build": "vue-cli-service build",
|
|
|
|
"lint": "vue-cli-service lint"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"filesize": "^3.6.1",
|
|
|
|
"normalize.css": "^8.0.0",
|
|
|
|
"parse-link-header": "^1.0.1",
|
|
|
|
"vue": "^2.5.17",
|
|
|
|
"vue-router": "^3.0.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@vue/cli-plugin-babel": "^3.0.3",
|
|
|
|
"@vue/cli-plugin-eslint": "^3.0.3",
|
|
|
|
"@vue/cli-service": "^3.0.3",
|
|
|
|
"@vue/eslint-config-airbnb": "^3.0.3",
|
2018-09-27 13:41:08 +08:00
|
|
|
"vue-template-compiler": "^2.5.17",
|
|
|
|
"lint-staged": "^6.0.0"
|
|
|
|
},
|
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"Dockerfile": [
|
|
|
|
"hadolint"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"vue-cli-service lint",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.vue": [
|
|
|
|
"vue-cli-service lint",
|
|
|
|
"git add"
|
|
|
|
]
|
2018-09-26 22:27:42 +08:00
|
|
|
}
|
|
|
|
}
|