HuLa/package.json
nongyehong fc753b5f05 docs: 📝 变更代码规范
添加husky
变更使用cz-git
2024-04-22 02:24:36 +08:00

100 lines
2.8 KiB
JSON

{
"name": "hula-im-tauri",
"private": true,
"type": "module",
"version": "v1.5.0",
"license": "Apache-2.0",
"engines": {
"node": ">=18.12.0",
"pnpm": ">=8.10.0"
},
"repository": {
"url": "https://github.com/nongyehong/HuLa-IM-Tauri.git"
},
"author": {
"name": "nongyehong",
"email": "2439646234@qq.com",
"url": "https://github.com/nongyehong/HuLa-IM-Tauri"
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"oxlint src",
"prettier --config .prettierrc --write",
"eslint src"
]
},
"scripts": {
"dev": "vite --mode dev",
"prod": "vite --mode prod",
"build": "vue-tsc --noEmit && vite build --mode dev",
"preview": "vite preview",
"tauri:dev": "tauri dev",
"tauri:build": "tauri build",
"tauri:icon": "tauri icon public/logo.png",
"preinstall": "npx only-allow pnpm",
"commit": "git add . && git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"lint:staged": "lint-staged",
"prepare": "husky install"
},
"dependencies": {
"@tauri-apps/api": "^1.5.3",
"axios": "^1.6.8",
"colorthief": "^2.4.0",
"dayjs": "^1.11.10",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
"naive-ui": "^2.38.1",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"pinia-shared-state": "^0.5.1",
"vue": "^3.4.23",
"vue-draggable-plus": "^0.4.0",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@tauri-apps/cli": "^1.5.11",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@unocss/preset-uno": "^0.59.4",
"@unocss/reset": "^0.59.4",
"@unocss/transformer-directives": "^0.59.4",
"@unocss/transformer-variant-group": "^0.59.4",
"@unocss/vite": "^0.59.4",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vueuse/core": "^10.8.0",
"commitizen": "^4.3.0",
"conventional-changelog": "^5.1.0",
"conventional-changelog-cli": "^4.1.0",
"cz-git": "^1.9.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.19.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.0",
"oxlint": "^0.2.4",
"prettier": "^3.2.5",
"sass": "^1.71.1",
"sass-loader": "^14.1.1",
"typescript": "^5.4.3",
"unplugin-auto-import": "^0.17.2",
"unplugin-vue-components": "^0.26.0",
"vite": "5.2.9",
"vue-tsc": "^2.0.6"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}