StarRailCopilot/webapp/package.json

87 lines
3.2 KiB
JSON
Raw Normal View History

2023-09-09 16:22:01 +00:00
{
2023-09-09 17:29:31 +00:00
"name": "src",
"description": "StarRailCopilot desktop app",
2023-09-09 16:22:01 +00:00
"version": "0.4.0",
"private": true,
"main": "packages/main/dist/index.cjs",
"scripts": {
"build": "npm run build:main && npm run build:preload && npm run build:renderer",
"build:main": "cd ./packages/main && vite build",
"build:preload": "cd ./packages/preload && vite build",
"build:renderer": "cd ./packages/renderer && vite build",
"compile": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.js --dir",
"test": "npm run test:main && npm run test:preload && npm run test:renderer && npm run test:e2e",
"test:e2e": "npm run build && vitest run",
"test:main": "vitest run -r packages/main --passWithNoTests",
"test:preload": "vitest run -r packages/preload --passWithNoTests",
"test:renderer": "vitest run -r packages/renderer --passWithNoTests",
"watch": "node scripts/watch.mjs",
"lint": "eslint . --ext js,mjs,cjs,ts,mts,cts,vue",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
"typecheck:renderer": "vue-tsc --noEmit -p packages/renderer/tsconfig.json",
"typecheck": "npm run typecheck:main && npm run typecheck:preload && npm run typecheck:renderer",
"postinstall": "cross-env ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.mjs",
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\""
},
"devDependencies": {
"@arco-design/web-vue": "^2.45.2",
"@arco-plugins/vite-vue": "^1.4.5",
"@arco-themes/vue-am-alas": "^0.0.1",
"@intlify/unplugin-vue-i18n": "^0.10.0",
"@types/fs-extra": "^11.0.1",
"@types/lodash-es": "^4.17.7",
"@types/node": "18.15.3",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "^5.58.0",
"@vitejs/plugin-vue": "4.0.0",
"@vue/test-utils": "2.3.1",
"consola": "^3.1.0",
"cross-env": "7.0.3",
"electron": "22.3.4",
"electron-builder": "23.6.0",
"eslint": "8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "9.9.0",
"happy-dom": "8.9.0",
"less": "^4.1.3",
"nano-staged": "0.8.0",
"playwright": "1.31.2",
"prettier": "^2.8.7",
"prettier-eslint": "^15.0.1",
"simple-git-hooks": "2.8.1",
"ts-node": "^10.9.1",
"typescript": "4.9.5",
"unocss": "^0.51.8",
"unplugin-auto-expose": "0.0.4",
"unplugin-auto-import": "^0.15.3",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.3.1",
"vite-plugin-style-import": "^2.0.0",
"vitest": "0.29.3",
"vue": "^3.2.47",
"vue-tsc": "1.2.0",
"vue-types": "^5.0.2"
},
"dependencies": {
"@ant-design/icons-vue": "^6.1.0",
"@vueuse/core": "^10.0.2",
"autoprefixer": "^10.4.14",
"dayjs": "^1.11.7",
"electron-log": "^4.4.8",
"electron-updater": "5.3.0",
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.1",
"lodash-es": "^4.17.21",
"mustache": "^4.2.0",
"nanoid": "^4.0.2",
"pinia": "^2.0.34",
"postcss": "^8.4.21",
"python-shell": "^5.0.0",
"tree-kill": "^1.2.2",
"vue-i18n": "^9.2.2",
"vue-router": "^4.1.6",
"yaml": "^2.2.1"
}
2023-09-09 17:29:31 +00:00
}