-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
128 lines (128 loc) · 3.56 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "npld-player",
"productName": "npld-player",
"version": "1.1.5",
"main": ".webpack/main",
"author": "UK Web Archive <[email protected]> (https://www.webarchive.org.uk/)",
"description": "NPLD Secured Browser Application",
"productDescription": "Secured browser application for accessing NPLD content in Legal Deposit Library reading rooms",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "eslint --ext .ts,.tsx .",
"start-test-server": "http-server ./test -c-1"
},
"keywords": [],
"license": "MIT",
"config": {
"forge": {
"packagerConfig": {
"icon": "icons/ld-player",
"protocols": [
{
"name": "npld-viewer",
"schemes": [
"npld-viewer"
]
}
]
},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "npld_player",
"authors": "The British Library",
"description": "A viewer application for accessing Non-Print Legal Deposit items in reading rooms."
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {
"mimeType": [
"x-scheme-handler/npld-viewer"
],
"options": {
"icon": "icons/ld-player.png"
}
}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
],
"plugins": [
{
"name": "@electron-forge/plugin-webpack",
"config": {
"mainConfig": "./webpack.main.config.js",
"renderer": {
"config": "./webpack.renderer.config.js",
"entryPoints": [
{
"html": "./src/index.html",
"js": "./src/renderer.ts",
"name": "main_window",
"preload": {
"js": "./src/preload.ts"
}
}
]
}
}
}
],
"publishers": [
{
"name": "@electron-forge/publisher-github",
"config": {
"repository": {
"owner": "ukwa",
"name": "npld-player-builds"
}
}
}
]
}
},
"devDependencies": {
"@electron-forge/cli": "^7.5.0",
"@electron-forge/maker-deb": "^7.5.0",
"@electron-forge/maker-rpm": "^7.5.0",
"@electron-forge/maker-squirrel": "^7.5.0",
"@electron-forge/maker-zip": "^7.5.0",
"@electron-forge/plugin-webpack": "7.5.0",
"@electron-forge/publisher-github": "^7.5.0",
"@shoelace-style/shoelace": "2.17",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vercel/webpack-asset-relocator-loader": "1.7.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"dotenv": "^16.4.5",
"electron": "32.1.2",
"eslint": "^9",
"eslint-plugin-import": "^2.30.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"mini-css-extract-plugin": "^2.9.1",
"node-loader": "^2.0.0",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "~5.6.2"
},
"dependencies": {
"electron-squirrel-startup": "^1.0.1"
},
"optionalDependencies": {
"http-server": "^14.1.1"
}
}