generated from electron/electron-quick-start-typescript
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
65 lines (65 loc) · 1.61 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
55
56
57
58
59
60
61
62
63
64
65
{
"name": "electron-runs-admin",
"version": "1.0.0",
"description": "Example app showing how to elevate admin privileges for a child process",
"main": "main/index.js",
"scripts": {
"build": "rimraf ./main && tsc && npm run copy",
"copy": "copyfiles -u 1 ./src/**/*.html ./main",
"dev": "npm run build && electron .",
"watch": "tsc -w",
"lint": "eslint -c .eslintrc --ext .ts ./src",
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "npm run build && electron-builder --publish never"
},
"repository": "https://github.com/kmturley/electron-runs-admin",
"keywords": [
"Electron",
"quick",
"start",
"tutorial",
"demo",
"typescript"
],
"build": {
"appId": "io.github.electron-runas-admin",
"productName": "Electron Runas Admin",
"artifactName": "electron-runas-admin-${os}.${ext}",
"asar": true,
"asarUnpack": [
"main"
],
"files": [
"main"
],
"mac": {
"target": "dmg",
"category": "public.app-category.utilities"
},
"linux": {
"target": "AppImage",
"category": "Utility"
},
"win": {
"target": "nsis"
}
},
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"copyfiles": "^2.4.1",
"electron": "^17.2.0",
"electron-builder": "^23.0.3",
"eslint": "^7.32.0",
"rimraf": "^3.0.2",
"typescript": "^4.5.5"
},
"dependencies": {
"@vscode/sudo-prompt": "^9.3.1",
"fix-path": "^3.0.0",
"native-is-elevated": "^0.4.3"
}
}