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.67 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.0",
"@typescript-eslint/eslint-plugin": "4.29.3",
"@vitejs/plugin-vue": "1.6.0",
"cross-env": "7.0.3",
"electron": "13.2.3",
"electron-builder": "22.11.7",
"electron-devtools-installer": "3.2.0",
"eslint": "7.32.0",
"eslint-plugin-vue": "7.17.0",
"lint-staged": "11.1.2",
"simple-git-hooks": "2.6.1",
"spectron": "15.0.0",
"typescript": "4.4.2",
"vite": "2.5.1",
"vue-tsc": "0.3.0"
},
"dependencies": {
"electron-updater": "4.5.1",
"vue": "3.2.6",
"vue-router": "4.0.11"
}
}