generated from cawa-93/vite-electron-builder
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "vite-electron-builder",
"private": true,
"engines": {
"node": ">=v14.16",
"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 --config.asar=false",
"pretest": "cross-env MODE=test 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 91"
],
"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.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitejs/plugin-vue": "^1.10.2",
"cross-env": "^7.0.3",
"electron": "^13.2.3",
"electron-builder": "^22.14.13",
"electron-devtools-installer": "^3.2.0",
"eslint": "^8.56.0",
"eslint-plugin-vue": "^9.22.0",
"lint-staged": "^11.2.6",
"simple-git-hooks": "^2.9.0",
"spectron": "^15.0.0",
"typescript": "^4.9.5",
"vite": "^2.9.17",
"vue-tsc": "^0.40.13"
},
"dependencies": {
"electron-updater": "^4.6.5",
"vue": "^3.4.21",
"vue-router": "^4.2.5"
}
}