75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"name": "vue-spa-scaffold",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vue-cli-service serve",
|
|
"build:prod": "vue-cli-service build",
|
|
"format": "prettier --write './**/*.{js,ts,vue,json,css,less,scss}'",
|
|
"svgo": "svgo -f src/assets/icons/svg --config=src/assets/icons/svgo.yml",
|
|
"lint": "vue-cli-service lint",
|
|
"test": "mocha"
|
|
},
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged",
|
|
"commit-msg": "commitlint -e $GIT_PARAMS"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,vue,ts,html}": [
|
|
"yarn run lint"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"ant-design-vue": "^1.7.4",
|
|
"axios": "^0.21.1",
|
|
"core-js": "^3.6.5",
|
|
"md5": "^2.3.0",
|
|
"nprogress": "^0.2.0",
|
|
"vue": "^2.7.14",
|
|
"vue-ls": "^3.2.2",
|
|
"vue-router": "^3.5.1",
|
|
"vuex": "^3.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^13.1.0",
|
|
"@commitlint/config-conventional": "^13.1.0",
|
|
"@vue/cli-plugin-babel": "~4.5.0",
|
|
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
"@vue/cli-plugin-router": "~4.5.0",
|
|
"@vue/cli-plugin-vuex": "~4.5.0",
|
|
"@vue/cli-service": "~4.5.0",
|
|
"@vue/eslint-config-prettier": "^6.0.0",
|
|
"add": "^2.0.6",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-plugin-import": "^1.13.3",
|
|
"chai": "^4.3.4",
|
|
"chalk": "^4.1.2",
|
|
"chokidar": "2.1.5",
|
|
"clear": "^0.1.0",
|
|
"commitizen": "^4.2.4",
|
|
"compression-webpack-plugin": "3.1.0",
|
|
"cz-customizable": "^6.3.0",
|
|
"eslint": "^6.7.2",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"html-webpack-plugin": "^3.0.0",
|
|
"less": "^3.0.4",
|
|
"less-loader": "^5.0.0",
|
|
"lint-staged": "^11.1.2",
|
|
"mocha": "^8.3.2",
|
|
"mockjs": "^1.1.0",
|
|
"path": "^0.12.7",
|
|
"prettier": "^1.19.1",
|
|
"script-ext-html-webpack-plugin": "^2.1.5",
|
|
"svg-sprite-loader": "^6.0.9",
|
|
"vue-template-compiler": "^2.7.14",
|
|
"webpack": "^4.0.0",
|
|
"yarn": "^1.22.17"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-customizable"
|
|
}
|
|
}
|
|
}
|