forked from bbc/digital-paper-edit-electron
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
187 lines (187 loc) · 6.09 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "digital-paper-edit-electron",
"productName": "autoEdit 3",
"version": "1.6.5-alpha.0",
"description": "Digital Paper Edit app",
"main": "src/electron-main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf build dist",
"start": "cross-env NODE_ENV=development electron .",
"start:dev": "cross-env NODE_ENV=development electron .",
"start:prod": "cross-env NODE_ENV=production electron .",
"build": "echo 'Build is reserved for github actions build'",
"build:m": "cross-env NODE_ENV=production electron-builder -m",
"build:m:universal": "cross-env NODE_ENV=production electron-builder --mac --universal",
"build:m:arm64": "cross-env NODE_ENV=production electron-builder -m --arm64",
"build:w": "cross-env NODE_ENV=production electron-builder -w",
"build:l": "cross-env NODE_ENV=production electron-builder -l",
"build:mwl": "cross-env NODE_ENV=production electron-builder -mwl --x64 --arm64 --ia32",
"build:l:publish:always": "electron-builder -l --publish always",
"build:m:publish:always": "electron-builder -m --x64 --arm64 --publish always",
"build:w:publish:always": "electron-builder -w --x64 --ia32 --publish always",
"build:mwl:publish:always": "electron-builder -mwl --x64 --arm64 --publish always",
"build:ml:publish:always": "electron-builder -ml --x64 --arm64 --publish always",
"build:electron-builder": "npx cross-env NODE_ENV=production electron-builder -m"
},
"license": "MIT",
"author": "Pietro Passarelli CC0 2019",
"contributors": [
""
],
"bugs": {
"url": "https://github.com/pietrop/digital-paper-edit-electron/issues"
},
"homepage": "https://github.com/pietrop/digital-paper-edit-electron",
"repository": {
"type": "git",
"url": "git+https://github.com/pietrop/digital-paper-edit-electron.git"
},
"build": {
"publish": {
"provider": "github",
"releaseType": "prerelease",
"vPrefixedTagName": false,
"owner": "pietrop",
"repo": "digital-paper-edit-electron"
},
"appId": "org.dpe.dpe-electron",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"asar": false,
"directories": {
"buildResources": "assets"
},
"files": [
"**/*",
"build/**",
"!config/",
"!assets/",
"!spec/",
"!project_page/",
"!vendor/",
"!docs/",
"!dist/",
"!icons/",
"node_modules/**/*",
"node_modules/ffmpeg-static-electron/bin/${os}/${arch}/ffmpeg",
"node_modules/ffmpeg-static-electron/index.js",
"node_modules/ffmpeg-static-electron/package.json",
"node_modules/ffprobe-static-electron/bin/${os}/${arch}/ffprobe",
"node_modules/ffprobe-static-electron/index.js",
"node_modules/ffprobe-static-electron/package.json"
],
"copyright": "Pietro Passarelli CC0 2020",
"mac": {
"category": "public.app-category.productivity",
"files": [
"!node_modules/ffmpeg-static-electron/bin/win${/*}",
"!node_modules/ffmpeg-static-electron/bin/linux${/*}",
"!node_modules/ffprobe-static-electron/bin/win${/*}",
"!node_modules/ffprobe-static-electron/bin/linux${/*}"
],
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
]
},
"dmg": {
"background": "assets/background.png",
"icon": "assets/icon.icns",
"iconSize": 128,
"contents": [
{
"x": 448,
"y": 340,
"type": "link",
"path": "/Applications"
},
{
"x": 192,
"y": 340,
"type": "file"
}
]
},
"win": {
"artifactName": "${productName}-${version}-${arch}.${ext}",
"target": [
{
"target": "portable",
"arch": [
"x64",
"arm64",
"ia32"
]
}
],
"icon": "build/icon.ico",
"files": [
"node_modules/ffmpeg-static-electron/bin/win/${arch}/ffmpeg",
"!node_modules/ffmpeg-static-electron/bin/win/ia32${/*}",
"!node_modules/ffmpeg-static-electron/bin/linux${/*}",
"!node_modules/ffmpeg-static-electron/bin/mac${/*}",
"node_modules/ffprobe-static-electron/bin/win/${arch}/ffprobe",
"!node_modules/ffprobe-static-electron/bin/win/ia32${/*}",
"!node_modules/ffprobe-static-electron/bin/linux${/*}",
"!node_modules/ffprobe-static-electron/bin/mac${/*}"
]
},
"deb": {
"synopsis": "Digital Paper Edit Desktop App"
},
"linux": {
"category": "",
"packageCategory": "GNOME;GTK;VideoEditing;PaperEditing;Transcriptions",
"description": "Digital Paper Edit Desktop App",
"target": [
"AppImage"
],
"maintainer": "Pietro Passarelli",
"files": [
"!node_modules/ffmpeg-static-electron/bin/linux/ia32${/*}",
"!node_modules/ffmpeg-static-electron/bin/win${/*}",
"!node_modules/ffmpeg-static-electron/bin/mac${/*}",
"!node_modules/ffprobe-static-electron/bin/linux/ia32${/*}",
"!node_modules/ffprobe-static-electron/bin/win${/*}",
"!node_modules/ffprobe-static-electron/bin/mac${/*}"
]
}
},
"devDependencies": {
"@babel/core": "^7.7.7",
"cross-env": "^5.2.0",
"electron": "^12.0.0",
"electron-builder": "^22.11.7",
"electron-is-dev": "^2.0.0",
"eslint": "^6.8.0",
"fibers": "^4.0.2",
"jest-resolve": "^24.9.0",
"jquery": "^3.5.1",
"node-sass": "^4.13.1",
"npm": "^6.14.11",
"sass": "^1.24.0",
"typescript": "^3.7.4",
"webpack": "^4.41.4"
},
"dependencies": {
"@pietrop/assemblyai": "^2.0.2",
"@pietrop/digital-paper-edit-client": "^1.9.3",
"async": "^3.2.0",
"bootstrap-css-only": "^4.3.1",
"debug": "^4.1.1",
"diskdb": "^0.1.17",
"electron-updater": "^4.1.2",
"ffmpeg-static-electron": "^2.0.3",
"ffprobe-static-electron": "^2.0.2",
"fluent-ffmpeg": "^2.1.2",
"react": "^16.11.0",
"react-bootstrap": "^1.0.0-beta.14",
"react-dom": "^16.10.2",
"tmp": "^0.1.0"
}
}