-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
executable file
·217 lines (217 loc) · 9.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
"name": "ace-gui",
"description": "Ace, the EPUB accessibility checker by the DAISY Consortium (desktop application)",
"version": "1.3.3-alpha.1",
"engines": {
"node": ">=18.0.0",
"yarn": "^1.22.0",
"npm": ">=9.0.0"
},
"author": {
"name": "DAISY Consortium",
"organization": "DAISY Consortium",
"email": "info@daisy.org",
"url": "https://github.com/daisy/"
},
"homepage": "https://daisy.github.io/ace",
"repository": "daisy/ace-gui",
"license": "MIT",
"main": "app/main-bundle.js",
"build": {
"productName": "Ace by DAISY",
"appId": "org.daisy.ace",
"files": [
"node_modules/",
"kb/",
"index.html",
"logo.svg",
"main-bundle.js",
"main-bundle.js.map",
"renderer-bundle.js",
"renderer-bundle.js.map",
"preload-bundle.js",
"preload-bundle.js.map"
],
"asarUnpack": [
"**/*.node"
],
"directories": {
"buildResources": "build/icons",
"output": "dist",
"app": "app"
},
"afterSign": "build/notarize.js",
"dmg": {
"sign": true,
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"category": "public.app-category.developer-tools",
"target": "dmg",
"type": "distribution",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "./build/entitlements.mac.plist",
"entitlementsInherit": "./build/entitlements.mac.plist"
},
"linux": {
"target": [
"deb",
"AppImage"
],
"desktop": {
"MimeType": "application/epub+zip"
},
"executableName": "ace-app"
},
"win": {
"appId": "DaisyConsortium.Ace",
"target": "nsis"
},
"nsis": {
"oneClick": false
},
"publish": {
"provider": "github",
"owner": "daisy",
"repo": "ace-gui"
}
},
"scripts": {
"postinstall_": "electron-builder install-app-deps",
"clean": "npm --version && node --version && yarn --version && node -e \"console.log((new Date(Date.now())).toUTCString())\" && rimraf \"app\" && rimraf \"dist\"",
"prebuild:prod": "yarn run clean",
"build:prod": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack --config=build/webpack.config.all.js --env=production",
"postbuild:prod": "yarn run copy",
"prebuild:dev": "yarn run clean",
"build:dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development NO_WEBPACK_DEV_SERVER=1 webpack --config=build/webpack.config.all.js --env=development",
"postbuild:dev": "yarn run copy",
"prebuild:dev:main": "yarn run clean && yarn run build:dev:preload",
"build:dev:preload": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development webpack --config ./build/webpack.config.preload.js --env=development",
"build:dev:main": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development webpack --config ./build/webpack.config.main.js --env=development",
"postbuild:dev:main": "yarn run copy",
"copy": "cpy --cwd=\"./kb\" --parents \"**/*\" \"../app/kb/\" && cpy \"./package.json\" \"./app\"",
"start": "yarn start:prod",
"prestart:dev_": "yarn run build:dev",
"start:dev_": "yarn run start:dev:main:electron",
"start:dev:main:electron": "cross-env DEBUG_COLORS=true DEBUG=ace:*,ace-gui:* NODE_ENV=development electron .",
"start:dev:main": "yarn run build:dev:main && yarn run start:dev:main:electron",
"start:dev:renderer": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development webpack-dev-server --config ./build/webpack.config.renderer.js --env=development",
"start:dev": "concurrently --kill-others \"yarn run start:dev:renderer\" \"yarn run start:dev:main\"",
"vscode:launch:attach:electron": "electron --enable-logging --remote-debugging-port=9223 --inspect=25575 --nolazy .",
"vscode:launch:attach": "cross-env DEBUG_COLORS=true DEBUG=ace:*,ace-gui:* NODE_ENV=development VSCODE_LAUNCH=true yarn run build:dev:main && concurrently --kill-others \"yarn run start:dev:renderer\" \"yarn run vscode:launch:attach:electron\"",
"vscode:launch:hot": "cross-env DEBUG_COLORS=true DEBUG=ace:*,ace-gui:* NODE_ENV=development VSCODE_LAUNCH=true yarn run build:dev:main",
"prestart:prod": "yarn run build:prod",
"start:prod": "cross-env NODE_ENV=production DEBUG_PROD=false electron .",
"_NOT_NEEDED_prerelease": "yarn run build:prod",
"_NOT_NEEDED_release": "electron-builder --publish always",
"before:package:json": "rimraf \"app/package.json\" && cpy \"./package-asar.json\" \"./app\" --rename \"package.json\"",
"before:package:json:dev": "rimraf \"app/package.json\" && cpy \"./package-asar-dev.json\" \"./app\" --rename \"package.json\"",
"before:package": "yarn run build:prod && yarn run before:package:json",
"_NOT_NEEDED_before:package:dev": "yarn run build:dev && yarn run before:package:json:dev",
"_NOT_NEEDED_prepackage:dir": "yarn run before:package",
"_NOT_NEEDED_package:dir": "electron-builder --x64 --publish never --dir",
"_NOT_NEEDED_prepackage:all": "yarn run before:package",
"_NOT_NEEDED_package:all": "electron-builder --x64 --publish never -mwl",
"prepackage:win": "yarn run before:package",
"package:win": "cross-env DEBUG=* CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --x64 --publish never --win",
"_NOT_NEEDED_prepackage:win:dev": "yarn run before:package:dev",
"_NOT_NEEDED_package:win:dev": "electron-builder --x64 --publish never --win",
"prepackage:linux": "yarn run before:package",
"package:linux": "cross-env DEBUG=* CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --x64 --publish never --linux",
"_NOT_NEEDED_prepackage:linux:dev": "yarn run before:package:dev",
"_NOT_NEEDED_package:linux:dev": "electron-builder --x64 --publish never --linux",
"prepackage:mac": "yarn run before:package",
"package:mac": "cross-env DEBUG=* electron-builder --x64 --publish never --mac",
"package:mac:skip-notarize": "cross-env SKIP_NOTARIZE=1 DEBUG=* yarn run package:mac",
"_NOT_NEEDED_prepackage:mac:dev": "yarn run before:package:dev",
"_NOT_NEEDED_package:mac:dev": "cross-env SKIP_NOTARIZE=1 DEBUG=* electron-builder --x64 --publish never --mac",
"i18n-sort": "node ./build/locales-sort.js",
"i18n-scan": "node ./build/translate-scan.js \"src\" \"src/shared/l10n/locales/temp.json\" && sync-i18n --files 'src/shared/l10n/locales/*.json' --primary temp --languages en fr es pt_BR da ja de --space 4 --finalnewline --newkeysempty && rimraf \"src/shared/l10n/locales/temp.json\"",
"i18n-check": "sync-i18n --files 'src/shared/l10n/locales/*.json' --primary en --languages fr es pt_BR da ja de --space 4 --finalnewline --newkeysempty"
},
"dependencies": {
"@daisy/ace-axe-runner-electron": "1.3.3-alpha.2",
"@daisy/ace-core": "1.3.3-alpha.2",
"@daisy/ace-localize": "1.3.3-alpha.2",
"@daisy/ace-logger": "1.3.3-alpha.2",
"@daisy/epub-utils": "1.3.3-alpha.2",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"@mrmlnc/readdir-enhanced": "^2.2.1",
"about-window": "^1.15.2",
"classnames": "^2.3.2",
"electron-redux": "^2.0.0-alpha.9",
"electron-store": "^7.0.3",
"fs-extra": "^10.1.0",
"jszip": "^3.10.1",
"mime-types": "^2.1.35",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-redux": "^7.2.8",
"react-select": "^4.3.1",
"react-splitter-layout": "^4.0.0",
"redux": "^4.2.1",
"redux-promise": "^0.6.0",
"redux-thunk": "^2.4.2",
"tmp": "^0.2.1",
"typeface-roboto": "^1.1.13",
"uuid": "^8.3.2",
"xmldom": "^0.6.0",
"xpath": "^0.0.32"
},
"devDependencies": {
"@babel/core": "^7.22.8",
"@babel/preset-env": "^7.22.7",
"@babel/preset-react": "^7.22.5",
"@electron/notarize": "^2.1.0",
"@octokit/rest": "^21.0.0",
"babel-loader": "^8.2.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"chalk": "^4.1.2",
"concurrently": "^6.4.0",
"copy-webpack-plugin": "^5.1.1",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"css-hot-loader": "^1.4.4",
"css-loader": "^3.5.3",
"devtron": "^1.4.0",
"dotenv": "^8.2.0",
"electron": "^25.2.0",
"electron-builder": "^24.4.0",
"electron-devtools-installer": "^3.2.0",
"file-loader": "^6.2.0",
"glob": "^7.2.0",
"html-webpack-plugin": "^4.3.0",
"i18next-json-sync": "^2.3.1",
"json": "^11.0.0",
"mini-css-extract-plugin": "^0.9.0",
"progress": "^2.0.3",
"react-axe": "^3.5.4",
"redux-devtools-extension": "^2.13.9",
"rimraf": "^3.0.2",
"sass": "^1.63.6",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.2",
"webpack-node-externals": "^1.7.2"
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}