Files
niumalll/admin-system/package.json
2025-09-02 21:59:27 +08:00

69 lines
2.0 KiB
JSON

{
"name": "niumall-admin-system",
"version": "1.0.0",
"type": "module",
"description": "活牛采购智能数字化系统 - 管理后台",
"author": "NiuMall Team",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"build:dev": "vue-tsc && vite build --mode development",
"build:test": "vue-tsc && vite build --mode test",
"build:prod": "vue-tsc && vite build --mode production",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"lint:fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/",
"type-check": "vue-tsc --noEmit",
"test:unit": "vitest",
"test:e2e": "cypress run",
"test:e2e:dev": "cypress open",
"test:coverage": "vitest --coverage"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"axios": "^1.4.0",
"echarts": "^5.4.2",
"element-plus": "^2.3.8",
"nprogress": "^0.2.0",
"pinia": "^2.1.4",
"pinia-plugin-persistedstate": "^3.2.0",
"vue": "^3.3.4",
"vue-router": "^4.2.4",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.3.2",
"@types/nprogress": "^0.2.0",
"@types/node": "^20.4.5",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.4.0",
"@vue/tsconfig": "^0.4.0",
"cypress": "^12.17.1",
"eslint": "^8.45.0",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-vue": "^9.15.1",
"jsdom": "^22.1.0",
"prettier": "^3.0.0",
"sass": "^1.64.1",
"typescript": "~5.1.6",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.1",
"vite": "^4.4.6",
"vitest": "^0.33.0",
"vue-tsc": "^1.8.5"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
]
}