| | |
| | | "stylelint": "stylelint \"src/**/*.{vue,scss,css,sass,less}\"", |
| | | "stylelint:fix": "stylelint \"src/**/*.{vue,scss,css,sass,less}\" --fix", |
| | | "cz": "git add . && npx czg", |
| | | "postinstall": "simple-git-hooks", |
| | | "clean": "npx rimraf node_modules", |
| | | "clean:cache": "npx rimraf node_modules/.cache" |
| | | }, |
| | |
| | | "@dcloudio/uni-quickapp-webview": "3.0.0-4070520250711001", |
| | | "@dcloudio/uni-ui": "^1.5.11", |
| | | "dayjs": "^1.11.18", |
| | | "js-audio-recorder": "^1.0.7", |
| | | "js-base64": "^3.7.4", |
| | | "js-md5": "^0.7.3", |
| | | "leaflet": "^1.9.4", |
| | |
| | | "rollup-plugin-visualizer": "^6.0.3", |
| | | "sass": "1.79.6", |
| | | "sass-loader": "^16.0.4", |
| | | "simple-git-hooks": "^2.13.1", |
| | | "stylelint": "^16.23.0", |
| | | "stylelint-config-recess-order": "^6.1.0", |
| | | "stylelint-config-standard": "^39.0.0", |
| | |
| | | "vue": "3.4.21" |
| | | } |
| | | }, |
| | | "simple-git-hooks": { |
| | | "pre-commit": "npx lint-staged", |
| | | "commit-msg": "node ./scripts/verify-commit.js" |
| | | }, |
| | | "lint-staged": { |
| | | "src/**/*.{js,jsx}": "eslint --fix", |
| | | "*.{scss,css,style,html}": "stylelint --fix", |
| | |
| | | "eslint --fix", |
| | | "stylelint --fix" |
| | | ] |
| | | }, |
| | | "uni-app": { |
| | | "scripts": { |
| | | "h5-dev": { |
| | | "title": "H5 开发环境", |
| | | "env": { |
| | | "UNI_PLATFORM": "h5", |
| | | "ENV_NAME": "development" |
| | | } |
| | | }, |
| | | "h5-test": { |
| | | "title": "H5 测试环境", |
| | | "env": { |
| | | "UNI_PLATFORM": "h5", |
| | | "ENV_NAME": "test" |
| | | } |
| | | }, |
| | | "h5-prod": { |
| | | "title": "H5 生产环境", |
| | | "env": { |
| | | "UNI_PLATFORM": "h5", |
| | | "ENV_NAME": "production" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |