cmc-web/webs/scr-web/package.json

33 lines
776 B
JSON

{
"name": "@cmc/scr-web",
"version": "6.0.0",
"private": true,
"author": "Haijun Zhang <zhanghaijun@beyondcent.com>",
"scripts": {
"dev": "vite",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"fix": "vue-cli-service lint --fix",
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
"precommit": "lint-staged"
},
"dependencies": {},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.18",
"@vue/cli-plugin-typescript": "~4.5.18"
},
"lint-staged": {
"src/**/*.{js,vue}": [
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}