You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
3.3 KiB
JSON

{
"name": "npin-front",
"type": "module",
"version": "1.0.0",
"private": true,
"packageManager": "pnpm@8.15.5",
"description": "NPin前端项目",
"author": {
"name": "NorthLan"
},
"scripts": {
"build": "vite build",
"build-ssg": "vite-ssg build",
"predev": "esno build/generate/index.ts && pnpm run icon:dev",
"dev": "vite --port 3333",
"lint": "eslint .",
"preview": "vite preview",
"preview-https": "serve dist",
"test": "vitest",
"test:e2e": "cypress open",
"test:unit": "vitest",
"typecheck": "vue-tsc --noEmit",
"up": "taze major -I",
"postinstall": "npx simple-git-hooks && turbo run stub",
"sizecheck": "npx vite-bundle-visualizer",
"icon:dev": "esno build/icon dev",
"icon:prod": "esno build/icon prod"
},
"dependencies": {
"@unhead/vue": "^1.9.4",
"@unocss/reset": "^0.59.0",
"@vueuse/core": "^10.9.0",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"vue": "^3.4.21",
"vue-demi": "^0.14.7",
"vue-i18n": "^9.11.1",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@ant-design/colors": "^7.0.2",
"@antfu/eslint-config": "^2.14.0",
"@iconify/json": "^2.2.199",
"@iconify/tools": "^3.0.7",
"@iconify/types": "^2.0.0",
"@iconify/utils": "^2.1.22",
"@iconify/vue": "^4.1.1",
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@niku/vite-env-caster": "^1.0.2",
"@shikijs/markdown-it": "^1.3.0",
"@types/markdown-it-link-attributes": "^3.0.5",
"@types/nprogress": "^0.2.3",
"@types/qs": "^6.9.14",
"@types/sortablejs": "^1.15.8",
"@unocss/eslint-plugin": "^0.59.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vue-macros/short-vmodel": "^1.4.3",
"@vue-macros/volar": "^0.18.18",
"@vue/test-utils": "^2.4.5",
"chalk": "^5.3.0",
"critters": "^0.0.22",
"cross-env": "^7.0.3",
"cypress": "^13.7.2",
"cypress-vite": "^1.5.0",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-format": "^0.1.0",
"esno": "^4.7.0",
"fast-glob": "^3.3.2",
"https-localhost": "^4.7.1",
"less": "^4.2.0",
"lint-staged": "^15.2.2",
"markdown-it-link-attributes": "^4.0.1",
"naive-ui": "^2.38.1",
"path-to-regexp": "^6.2.2",
"pinia-plugin-persistedstate": "^3.2.1",
"pnpm": "^8.15.6",
"primeicons": "^7.0.0",
"primelocale": "^0.0.1",
"primevue": "^4.0.0-beta.1",
"rollup": "^4.14.1",
"shiki": "^1.2.2",
"simple-git-hooks": "^2.11.1",
"sortablejs": "^1.15.2",
"taze": "^0.13.3",
"typescript": "^5.4.4",
"unocss": "^0.59.3",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"unplugin-vue-macros": "^2.9.0",
"unplugin-vue-markdown": "^0.26.0",
"unplugin-vue-router": "^0.8.5",
"vite": "^5.2.8",
"vite-bundle-visualizer": "^1.1.0",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-inspect": "^0.8.3",
"vite-plugin-pwa": "^0.19.8",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-devtools": "^7.0.25",
"vite-plugin-vue-layouts": "^0.11.0",
"vite-plugin-webfont-dl": "^3.9.3",
"vitest": "^0.34.6",
"vue-request": "^2.0.4",
"vue-tsc": "^1.8.27",
"vuedraggable": "^4.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}