-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
101 lines (101 loc) · 2.52 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "example-electron-license-activation",
"version": "1.0.1",
"license": "MIT",
"description": "An example of how to implement software licensing and device activation in an Electron application",
"keywords": [
"licensing",
"license keys",
"license activation",
"electron-builder",
"electron",
"keygen.sh",
"keygen"
],
"main": "main.js",
"author": {
"name": "Keygen",
"email": "support@keygen.sh",
"url": "https://github.com/keygen-sh"
},
"engines": {
"node": "^16"
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"start": "electron .",
"dev": "concurrently --kill-others --success first 'rm -rf build/ && parcel watch ./src/index.html -d build/ --public-url ./ --target electron --no-hmr' 'sleep 1 && yarn start'",
"build": "rm -rf build/ && parcel build ./src/index.html -d build/ --public-url ./ --target electron",
"dist": "rm -rf dist/ && yarn build && electron-builder build --publish always"
},
"build": {
"publish": {
"provider": "keygen",
"product": "7071feff-b5f3-434a-83c1-3ab3f3592325",
"account": "1fddcec8-8dd3-4d8d-9b16-215cac0f9b52",
"channel": "stable"
},
"appId": "com.keygen.example",
"directories": {
"output": "dist"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"category": "Utility",
"target": [
"AppImage",
"deb"
],
"icon": "build/icon.png"
},
"win": {
"target": "msi",
"icon": "build/icon.png"
},
"mac": {
"target": "zip",
"category": "public.app-category.developer-tools"
},
"files": [
"main.js",
"build/*"
]
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"electron-log": "^4.4.1",
"electron-updater": "^4.5.0",
"node-machine-id": "^1.1.12",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "7.0.0",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"concurrently": "^5.3.0",
"electron": "^16.0.7",
"electron-builder": "^22.14.5 ",
"electron-reload": "^1.5.0",
"parcel-bundler": "^1.12.4",
"postcss-modules": "^3.2.2",
"sass": "^1.32.8"
},
"resolutions": {
"@babel/preset-env": "7.13.8"
}
}