AzurLaneAutoScript/webapp/package.json
2021-10-23 14:50:44 +08:00

59 lines
1.7 KiB
JSON

{
"name": "alas",
"private": true,
"engines": {
"node": ">=v14.14",
"npm": ">=7.7"
},
"main": "packages/main/dist/index.cjs",
"scripts": {
"build": "node scripts/build.js",
"precompile": "cross-env MODE=production npm run build",
"compile": "electron-builder build --config electron-builder.config.js --dir",
"pretest": "npm run build",
"test": "node tests/app.spec.js",
"watch": "node scripts/watch.js",
"lint": "eslint . --ext js,ts,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"
},
"browserslist": [
"Chrome 94"
],
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm run typecheck"
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --cache --fix"
},
"devDependencies": {
"@types/electron-devtools-installer": "2.2.0",
"@typescript-eslint/eslint-plugin": "4.32.0",
"@vitejs/plugin-vue": "1.9.2",
"cross-env": "7.0.3",
"electron": "15.1.0",
"electron-builder": "22.11.7",
"electron-devtools-installer": "3.2.0",
"eslint": "7.32.0",
"eslint-plugin-vue": "7.18.0",
"lint-staged": "11.1.2",
"playwright": "1.15.1",
"simple-git-hooks": "2.6.1",
"typescript": "4.4.2",
"vite": "2.6.2",
"vue-tsc": "0.3.0"
},
"dependencies": {
"@ant-design/icons-vue": "^6.0.1",
"electron-updater": "4.6.0",
"python-shell": "^3.0.0",
"tree-kill": "^1.2.2",
"vue": "3.2.19",
"vue-router": "4.0.11",
"yaml": "^1.10.2"
}
}