Files
kami_frontend/package.json
danial 5c1505449b feat(api): 添加 JDV2 Token 管理接口及相关模型
- 新增 JDV2TokenManagementApi 接口文件,包含创建、删除、获取及列出 Token 的功能
- 添加与 Token 相关的请求和响应模型,如 CreateTokenReq/Res、DeleteTokenReq/Res 等
- 在 api.ts 中导出新的 JDV2TokenManagementApi 模块
- 更新 default-api.ts,移除已弃用的 iTunes 充值回调和处理接口
- 增加了 Token 绑卡记录查询接口及对应的数据模型
- 调整了部分枚举值顺序以符合业务逻辑
- 升级 Node.js 版本至 24.11.1 并更新 pnpm 至 10.23.0
2025-11-22 20:57:10 +08:00

140 lines
4.8 KiB
JSON

{
"name": "arco-design-pro-vue",
"description": "Arco Design Pro for Vue",
"version": "1.0.0",
"private": true,
"type": "module",
"author": "ArcoDesign Team",
"license": "MIT",
"scripts": {
"dev": "vite --config ./config/vite.config.dev.mts",
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.mts",
"type:check": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
"eslint": "eslint --max-warnings 0 \"{src,mock,config}/**/*.{vue,js,ts,tsx}\"",
"eslint:fix": "eslint --max-warnings 0 \"{src,mock,config}/**/*.{vue,js,ts,tsx}\" --fix",
"stylelint": "stylelint \"**/*.{html,vue,css,less}\"",
"stylelint:fix": "stylelint \"**/*.{html,vue,css,less}\" --fix",
"prettier": "prettier --check \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
"prettier:fix": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
"lint": "pnpm eslint && pnpm stylelint && pnpm prettier",
"lint:fix": "pnpm eslint:fix && pnpm stylelint:fix && pnpm prettier:fix",
"lint-staged": "lint-staged",
"clean:cache": "rimraf .eslintcache && rimraf node_modules && pnpm install",
"prepare": "husky && husky install",
"release": "bumpp",
"generate:api": "openapi-generator-cli generate -i http://127.0.0.1:12401/api.json -g typescript-axios -o ./src/api/generated -p withSeparateModelsAndApi=true,modelPackage=models,apiPackage=apis,useTagAsApiPackage=true,sortParamsByRequiredFlag=true,useSquareBracketsInArrayNames=true,withInterfaces=false,useSingleRequestParameter=true,stringEnums=true"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.vue": [
"stylelint --fix",
"prettier --write",
"eslint --fix"
],
"*.{less,css}": [
"stylelint --fix",
"prettier --write"
],
"*.{md,json}": [
"prettier --write"
]
},
"dependencies": {
"@arco-design/web-vue": "^2.57.0",
"@codemirror/commands": "^6.10.0",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-javascript": "^6.2.3",
"@codemirror/language": "^6.11.3",
"@codemirror/language-data": "^6.5.2",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.38.6",
"@milkdown/kit": "^7.7.0",
"@milkdown/theme-nord": "^7.7.0",
"@milkdown/vue": "^7.7.0",
"@openapitools/openapi-generator-cli": "^2.24.0",
"@tanstack/vue-query": "^5.74.7",
"@vueuse/core": "^10.11.1",
"axios": "^1.8.4",
"codemirror": "^6.0.2",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.19",
"echarts": "^5.6.0",
"lodash": "^4.17.21",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"pinia": "^2.3.1",
"query-string": "^9.1.1",
"rollup": "^4.40.0",
"sortablejs": "^1.15.6",
"vue": "^3.5.22",
"vue-echarts": "^6.7.3",
"vue-router": "^4.5.0",
"yaml": "^2.8.1"
},
"devDependencies": {
"@arco-plugins/vite-vue": "^1.4.6",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@commitlint/types": "^19.8.0",
"@eslint/js": "^9.25.1",
"@openapi-codegen/cli": "^3.1.0",
"@openapi-codegen/typescript": "^11.0.1",
"@types/crypto-js": "^4.2.2",
"@types/lodash": "^4.17.20",
"@types/mockjs": "^1.0.10",
"@types/node": "^22.14.1",
"@types/nprogress": "^0.2.3",
"@types/sortablejs": "^1.15.9",
"@typescript-eslint/eslint-plugin": "^8.31.0",
"@typescript-eslint/parser": "^8.31.0",
"@vitejs/plugin-vue": "^5.2.3",
"@vitejs/plugin-vue-jsx": "^4.1.2",
"autoprefixer": "^10.4.21",
"consola": "^3.4.2",
"cross-env": "^7.0.3",
"eslint": "^9.25.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-vue": "^9.33.0",
"husky": "^8.0.0",
"less": "^4.3.0",
"lint-staged": "^15.5.1",
"mockjs": "^1.1.0",
"postcss-html": "^1.8.0",
"postcss-less": "^6.0.0",
"prettier": "^3.5.3",
"rollup-plugin-visualizer": "^5.14.0",
"stylelint": "^16.19.0",
"stylelint-config-recess-order": "^5.1.1",
"stylelint-config-recommended-vue": "^1.6.0",
"stylelint-config-standard": "^37.0.0",
"stylelint-config-standard-less": "^3.0.1",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-less": "^3.0.1",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.3",
"ts-node": "^10.9.2",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"unplugin-vue-components": "^0.27.5",
"vite": "^5.4.15",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-imagemin": "^0.6.1",
"vite-svg-loader": "^5.1.0",
"vue-eslint-parser": "^9.4.3",
"vue-tsc": "^2.2.10"
},
"engines": {
"node": "^18.0.0 || >=20.0.0",
"pnpm": ">=8.11.0"
},
"resolutions": {
"bin-wrapper": "npm:bin-wrapper-china",
"gifsicle": "5.2.0"
},
"packageManager": "pnpm@10.23.0"
}