-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.84 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
{
"name": "uploader",
"version": "1.4.1",
"description": "An easy to use tusd uploader.",
"author": "Arkivvkerket <utvikling@arkivverket.no>",
"private": true,
"homepage": "./",
"main": "public/electron.js",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.16",
"@tippyjs/react": "^4.2.6",
"ajv": "^8.8.2",
"electron-store": "^8.0.1",
"electron-updater": "^4.6.5",
"electron-window-state": "^5.0.3",
"filesize": "^8.0.6",
"fs-extra": "^10.0.0",
"i18n": "file:./i18n",
"md5": "^2.3.0",
"react": "^17.0.1",
"react-dom": "^17.0.2",
"react-router-dom": "^6.0.2",
"react-scripts": "^4.0.3",
"tar": "^6.1.11",
"tus-js-client": "^2.3.0"
},
"devDependencies": {
"browserslist": "^4.18.1",
"concurrently": "^6.4.0",
"cross-env": "^7.0.3",
"electron": "^16.0.4",
"electron-builder": "^22.14.5",
"electron-notarize": "^1.1.1",
"node-sass": "^6.0.1",
"wait-on": "^6.0.0"
},
"scripts": {
"react-start": "react-scripts start",
"react-build": "npm install && npm upgrade i18n && react-scripts build",
"start": "concurrently \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electron .\"",
"build-mac": "npm run react-build && electron-builder -m",
"build-mac-test": "npm run react-build && electron-builder -m -c.mac.identity=null",
"build-win": "npm run react-build && electron-builder -w -c.win.certificateSubjectName=\"Arkivverket\"",
"build-win-test": "npm run react-build && electron-builder -w"
},
"build": {
"appId": "no.arkivverket.digitalisering.uploader",
"productName": "Uploader",
"afterSign": "assemble/scripts/notarize.js",
"directories": {
"buildResources": "assemble/resources"
},
"dmg": {
"sign": false
},
"nsis": {
"deleteAppDataOnUninstall": true
},
"mac": {
"target": [
"dmg",
"zip"
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "assemble/mac/entitlements.plist",
"entitlementsInherit": "assemble/mac/entitlements.plist"
},
"win": {
"target": [
"msi",
"nsis",
"portable"
]
},
"publish": [
{
"provider": "generic",
"url": "https://uploader.digitalisering.arkivverket.no"
}
]
},
"browserslist": [
"electron 16.0"
]
}