-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.05 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
{
"name": "svelte-electron",
"version": "0.1.0",
"description": "svelte-electron",
"author": "hada0127",
"private": true,
"main": "src/index.js",
"scripts": {
"test": "NODE_ENV=development concurrently \"npm run web:watch\" \"npm run electron:start\"",
"web:watch": "vite --port 3000",
"electron:start": "electron src",
"build": "vite build",
"preview": "npm run build && electron src/preview",
"win32": "npm run build && electron-builder --win --ia32",
"win64": "npm run build && electron-builder --win --x64"
},
"buildDependenciesFromSource": true,
"build": {
"productName": "svelte-electron",
"appId": "com.yourdomain.app",
"asar": true,
"mac": {
"target": [
"default"
],
"icon": "build/icons/iconKiosk.icns"
},
"win": {
"target": [
"nsis"
],
"icon": "build/icons/iconKiosk.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": true,
"perMachine": true,
"language": 1042,
"installerIcon": "build/icons/iconKiosk.ico",
"shortcutName": "svelte-electron v${version}",
"artifactName": "svelte-electron v${version}.${ext}",
"uninstallDisplayName": "svelte-electron v${version}"
},
"directories": {
"buildResources": "./build/",
"output": "./dist/"
},
"files": [
"src/**/*"
]
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.30",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"electron": "^17.0.0",
"electron-builder": "^22.10.3",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.3",
"prettier-plugin-svelte": "^2.9.0",
"svelte": "^3.44.0",
"vite": "^3.0.0"
},
"dependencies": {
"@electron/remote": "^2.0.9",
"json-beautify": "^1.1.1",
"sass": "^1.63.6",
"serialport": "^10.3.0",
"svelte-preprocess": "^5.0.4"
}
}