You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.8 KiB
98 lines
2.8 KiB
{ |
|
"name": "vue3-ts", |
|
"private": true, |
|
"version": "0.0.0", |
|
"scripts": { |
|
"run:local": "vite --mode _local", |
|
"run:dev": "vite --mode dev", |
|
"run:prod": "vite --mode prod", |
|
"run:native_base": "vite --host 0.0.0.0 --port 8086", |
|
"dev": "vite", |
|
"build": "vue-tsc --noEmit && vite build", |
|
"build:dev:native": "vue-tsc --noEmit && vite build --mode dev && node ./tools/index.html-handle.js", |
|
"build:prod": "vue-tsc --noEmit && vite build --mode prod", |
|
"build:prod:native": "vue-tsc --noEmit && vite build --mode prod && node ./tools/index.html-handle.js", |
|
"preview": "vite preview", |
|
"lint": "eslint --fix --ext .ts,.tsx,.vue,.jsx src", |
|
"prettier": "prettier --write ./**/*.{ts,css,json,vue,less,scss}", |
|
"prepare": "husky install", |
|
"git:cz": "git cz", |
|
"commit:all": "git add . && git cz", |
|
"git:set": "git config --global core.autocrlf false" |
|
}, |
|
"dependencies": { |
|
"@vant/area-data": "^1.4.0", |
|
"async-validator": "^4.2.5", |
|
"axios": "^1.2.0", |
|
"dayjs": "^1.11.6", |
|
"echarts": "^5.4.1", |
|
"hammerjs": "^2.0.8", |
|
"husky": "^8.0.2", |
|
"lodash": "^4.17.21", |
|
"mitt": "^3.0.0", |
|
"node-html-parser": "^6.1.4", |
|
"postcss-pxtorem": "^6.0.0", |
|
"qrcode": "^1.5.1", |
|
"rollup-plugin-copy": "^3.4.0", |
|
"sortablejs": "^1.15.0", |
|
"swiper": "^9.0.3", |
|
"ts-md5": "^1.3.1", |
|
"vant": "^3.5.4", |
|
"vconsole": "^3.14.7", |
|
"vue": "^3.2.37", |
|
"vue-cropper": "^0.5.8", |
|
"vue-i18n": "^9.2.2", |
|
"vuedraggable": "^2.24.3", |
|
"vuex": "^4.1.0" |
|
}, |
|
"devDependencies": { |
|
"@commitlint/cli": "^17.2.0", |
|
"@commitlint/config-conventional": "^17.3.0", |
|
"@types/hammerjs": "^2.0.41", |
|
"@types/lodash": "^4.14.194", |
|
"@types/node": "^18.7.1", |
|
"@types/qs": "^6.9.7", |
|
"@types/sortablejs": "^1.15.0", |
|
"@typescript-eslint/eslint-plugin": "^5.42.0", |
|
"@typescript-eslint/parser": "^5.42.0", |
|
"@vitejs/plugin-legacy": "~2.3.1", |
|
"@vitejs/plugin-vue": "^3.0.0", |
|
"commitizen": "^4.2.6", |
|
"cz-conventional-changelog": "^3.3.0", |
|
"cz-customizable": "^7.0.0", |
|
"eslint": "^8.26.0", |
|
"eslint-config-prettier": "^8.5.0", |
|
"eslint-plugin-prettier": "^4.2.1", |
|
"eslint-plugin-vue": "^9.7.0", |
|
"mrm": "^4.1.13", |
|
"prettier": "^2.7.1", |
|
"qs": "^6.11.0", |
|
"sass": "^1.54.4", |
|
"terser": "^5.16.1", |
|
"ts-md5": "^1.2.4", |
|
"typescript": "^4.6.4", |
|
"unplugin-vue-components": "^0.22.4", |
|
"vite": "^3.2.6", |
|
"vue-router": "4", |
|
"vue-tsc": "^0.38.4" |
|
}, |
|
"husky": { |
|
"hooks": { |
|
"pre-commit": "lint-staged" |
|
} |
|
}, |
|
"lint-staged": { |
|
"*.{jsx,vue,ts,tsx}": [ |
|
"eslint --fix", |
|
"git add" |
|
] |
|
}, |
|
"config": { |
|
"commitizen": { |
|
"path": "./node_modules/cz-customizable" |
|
}, |
|
"cz-customizable": { |
|
"config": ".cz-config.js" |
|
} |
|
} |
|
}
|
|
|