|
|
|
@ -1,13 +1,44 @@ |
|
|
|
{ |
|
|
|
"name": "appformlowcode", |
|
|
|
"private": true, |
|
|
|
"version": "0.0.0", |
|
|
|
"version": "2.3.0", |
|
|
|
"type": "module", |
|
|
|
"scripts": { |
|
|
|
"dev": "vite --open", |
|
|
|
"dev": "vite serve --mode development", |
|
|
|
"build": "vue-tsc -b && vite build", |
|
|
|
"build:prod": "vite build --mode production &&vue-tsc --noEmit", |
|
|
|
"preview": "vite preview" |
|
|
|
"preview": "husky install", |
|
|
|
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ", |
|
|
|
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"", |
|
|
|
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix", |
|
|
|
"lint:lint-staged": "lint-staged", |
|
|
|
"commit": "git-cz" |
|
|
|
}, |
|
|
|
"config": { |
|
|
|
"commitizen": { |
|
|
|
"path": "node_modules/cz-git" |
|
|
|
} |
|
|
|
}, |
|
|
|
"lint-staged": { |
|
|
|
"*.{js,ts}": [ |
|
|
|
"eslint --fix", |
|
|
|
"prettier --write" |
|
|
|
], |
|
|
|
"*.{cjs,json}": [ |
|
|
|
"prettier --write" |
|
|
|
], |
|
|
|
"*.{vue,html}": [ |
|
|
|
"eslint --fix", |
|
|
|
"prettier --write", |
|
|
|
"stylelint --fix" |
|
|
|
], |
|
|
|
"*.{scss,css}": [ |
|
|
|
"stylelint --fix", |
|
|
|
"prettier --write" |
|
|
|
], |
|
|
|
"*.md": [ |
|
|
|
"prettier --write" |
|
|
|
] |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"@element-plus/icons-vue": "^2.3.1", |
|
|
|
|