generated from maximegris/angular-electron
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
220 lines (220 loc) · 8.78 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
218
219
220
{
"name": "memebox",
"version": "2022.1.0",
"description": "A meme-management tool",
"author": {
"name": ""
},
"keywords": [],
"main": "out-electron/index.js",
"bin": "release/memebox.js",
"private": true,
"scripts": {
"postinstall": "electron-builder install-app-deps && node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main",
"ng": "nx",
"cpy": "cpy",
"start": "npm-run-all -p ng:serve",
"start:electron": "npm-run-all -p electron:serve ng:serve",
"build:dev": "npm run build memebox-app -- -c dev",
"build:prod": "npm run build memebox-app -- -c production",
"build:prod:stats": "npm run build memebox-app -- -c production --stats-json",
"build": "ng build --base-href ./",
"ng:serve": "ng serve",
"ng:serve:web": "ng serve -c web",
"ng:serve:prod": "ng serve -c production",
"test": "ng test --watch=false",
"test:ci": "jest",
"test:cypress": "ng run memebox-app:cypress-run",
"test:cypress:open": "ng run memebox-app:cypress-open",
"test:watch": "ng test",
"version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"lint": "ng lint",
"start:app": "npm run ng:serve:web",
"start:server": "ts-node --compiler ttypescript --project server/tsconfig.server.json server/server.ts",
"start:all": "npm-run-all -p start:app start:server",
"build:server:wo:vm2": "ttsc -p server/tsconfig.server.json && cd out-tsc/server && npx @vercel/ncc@latest build server/server.js -m -o ../../ncc -e vm2 --stats-out ../../ncc/stats.json ",
"build:server": "ttsc -p server/tsconfig.server.json && cd out-tsc/server && npx @vercel/ncc@latest build server/server.js -m -o ../../ncc --stats-out ../../ncc/stats.json",
"build:prepare:folder": "cpy ncc/index.js release --rename=memebox.js && cpy node_modules/vm2/lib/{fixasync,sandbox,contextify}.js release",
"build:prepare": "npm run build:prod && npm run build:prepare:withoutapp",
"build:prepare:withoutapp": "npm run build:server && npm run build:prepare:folder",
"build:pkg": "npx pkg@5.8.0 .",
"build:windows": "npm run build:pkg -- -t win-x64 -o release/out/memebox.exe",
"build:linux": "npm run build:pkg -- -t linux-x64 -o release/out/memebox-linux",
"build:macos": "npm run build:pkg -- -t macos-x64 -o release/out/memebox-macos",
"build:all": "npm run build:windows && npm run build:linux && npm run build:macos",
"build:with-electron": "npm run electron:serve-tsc && npm run build",
"electron:serve-tsc:watch": "ttsc -p tsconfig-electron.json -w -outDir out-electron",
"electron:serve-tsc": "npm-run-all -p electron:serve-tsc:watch electron:serve-local",
"electron:serve-local": "wait-on out-electron/electron-shell.js && npx electron out-electron/electron-shell.js --serve",
"electron:serve": "npx rimraf out-electron && wait-on tcp:4200 && npm run electron:serve-tsc",
"electron:build_app": "npm run build:prod ",
"electron:build_0compile": "ttsc -p tsconfig-electron.json",
"electron:build_1combineJs": "npx @vercel/ncc@latest build out-electron-tsc/electron-shell.js -e electron -e electron-reload -o ./out-electron && cpy out-electron-tsc/preload.js out-electron && cpy 'node_modules/vm2/lib/{fixasync,sandbox,contextify}.js' out-electron",
"electron:build": "npm run electron:build_app && npm run electron:build:withoutapp",
"electron:build:withoutapp": "npm run electron:build_0compile && npm run electron:build_1combineJs && electron-builder build",
"electron:build:only": "npm run electron:build_0compile && npm run electron:build_1combineJs && electron-builder build -p never",
"electron:build:serve": "npm run electron:build_0compile && npm run electron:build_1combineJs && npx electron out-electron/index.js --serve --built-serve",
"docs:json": "compodoc -p ./tsconfig.base.json -e json -d .",
"storybook": "npm run docs:json && start-storybook -p 6006",
"build-storybook": "npm run docs:json && build-storybook",
"affected:lint": "nx affected:lint",
"tauri": "tauri",
"tauri:build": "node scripts/move-binary.js && tauri build"
},
"devDependencies": {
"@angular-builders/custom-webpack": "11.1.1",
"@angular-builders/jest": "11.2.0",
"@angular-devkit/build-angular": "0.1102.19",
"@angular-devkit/core": "11.2.19",
"@angular-devkit/schematics": "11.2.19",
"@angular-eslint/builder": "13.5.0",
"@angular-eslint/eslint-plugin": "13.5.0",
"@angular-eslint/eslint-plugin-template": "13.5.0",
"@angular-eslint/schematics": "13.5.0",
"@angular-eslint/template-parser": "13.5.0",
"@angular/cli": "11.2.19",
"@angular/compiler-cli": "11.2.14",
"@angular/elements": "11.2.14",
"@angular/language-service": "11.2.14",
"@angular/service-worker": "11.2.14",
"@babel/core": "7.20.2",
"@compodoc/compodoc": "1.1.19",
"@cypress/schematic": "1.7.0",
"@datorama/akita-ngdevtools": "5.0.3",
"@gewd/components": "0.3.3",
"@nrwl/angular": "11.6.3",
"@nrwl/cli": "11.6.3",
"@nrwl/eslint-plugin-nx": "11.6.3",
"@nrwl/jest": "11.6.3",
"@nrwl/linter": "11.6.3",
"@nrwl/node": "11.6.3",
"@nrwl/workspace": "11.6.3",
"@storybook/addon-actions": "6.5.13",
"@storybook/addon-essentials": "6.5.13",
"@storybook/addon-links": "6.5.13",
"@storybook/angular": "6.5.13",
"@tauri-apps/cli": "1.2.3",
"@tsed/common": "6.43.4",
"@tsed/core": "6.43.4",
"@tsed/di": "6.43.4",
"@tsed/exceptions": "6.43.4",
"@tsed/json-mapper": "6.43.4",
"@tsed/platform-express": "6.43.4",
"@tsed/schema": "6.43.4",
"@twurple/api": "5.2.5",
"@twurple/auth": "5.2.5",
"@twurple/pubsub": "5.2.5",
"@types/css": "0.0.33",
"@types/express": "4.17.14",
"@types/jest": "27.5.2",
"@types/js-yaml": "4.0.5",
"@types/lodash": "4.14.188",
"@types/marked": "4.0.7",
"@types/node": "16.18.3",
"@types/tmi.js": "1.8.2",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.42.0",
"@typescript-eslint/parser": "5.42.0",
"@webcomponents/custom-elements": "1.5.1",
"@zerollup/ts-transform-paths": "1.7.18",
"babel-loader": "8.3.0",
"conventional-changelog-cli": "2.2.2",
"core-js": "3.26.0",
"cpy-cli": "3.1.1",
"cross-env": "7.0.3",
"cypress": "9.7.0",
"electron": "20.3.4",
"electron-builder": "23.6.0",
"electron-reload": "1.5.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"execa": "5.1.1",
"jest": "27.5.1",
"jest-preset-angular": "10.1.0",
"mock-socket": "9.1.5",
"ng-packagr": "11.2.4",
"npm-run-all": "4.1.5",
"storybook-dark-mode": "1.1.2",
"ts-jest": "27.1.5",
"ts-node": "8.10.2",
"typescript": "4.1.3",
"wait-for-localhost": "3.3.0",
"wait-on": "5.3.0",
"webdriver-manager": "12.1.8"
},
"engines": {
"node": "16"
},
"dependencies": {
"@angular/animations": "11.2.14",
"@angular/cdk": "11.2.13",
"@angular/common": "11.2.14",
"@angular/compiler": "11.2.14",
"@angular/core": "11.2.14",
"@angular/forms": "11.2.14",
"@angular/material": "11.2.13",
"@angular/platform-browser": "11.2.14",
"@angular/platform-browser-dynamic": "11.2.14",
"@angular/router": "11.2.14",
"@codemirror/basic-setup": "0.19.1",
"@codemirror/commands": "0.19.8",
"@codemirror/lang-css": "0.19.3",
"@codemirror/lang-html": "0.19.4",
"@codemirror/lang-javascript": "0.19.7",
"@codemirror/language": "0.19.10",
"@codemirror/state": "0.19.9",
"@codemirror/theme-one-dark": "0.19.1",
"@codemirror/view": "0.19.48",
"@datorama/akita": "5.3.0",
"@gewd/markdown": "0.4.3",
"@gewd/mat-utils": "0.1.0",
"@gewd/ng-utils": "0.4.1",
"@gewd/utils": "0.2.0",
"@ngneat/hotkeys": "1.1.4",
"@ngneat/reactive-forms": "1.7.5",
"@ngneat/transloco": "2.20.1",
"angular-material-css-vars": "1.2.0",
"angular2-qrcode": "2.0.3",
"animate.css": "4.1.1",
"body-parser": "1.20.1",
"browserslist": "4.21.4",
"comlink": "4.3.1",
"cors": "2.8.5",
"css": "3.0.0",
"error-stack-parser": "2.1.4",
"express": "4.18.2",
"express-validator": "6.14.2",
"immer": "8.0.4",
"js-yaml": "4.1.0",
"jsonata": "2.0.3",
"jwt-decode": "3.1.2",
"lodash": "4.17.21",
"marked": "4.2.2",
"morphdom": "2.6.1",
"neo-observable-input": "1.0.0",
"ngx-moveable": "0.24.3",
"obs-websocket-js": "4.0.3",
"open": "8.4.0",
"prismjs": "1.29.0",
"rxjs": "6.6.7",
"tmi.js": "1.8.5",
"tslib": "2.4.1",
"ttypescript": "1.5.13",
"vm2": "3.9.3",
"ws": "8.11.0",
"xss": "1.0.14",
"zone.js": "0.10.3"
},
"browser": {
"path": false,
"fs": false
},
"pkg": {
"assets": [
"dist/**/*",
"release/{*.js,!memebox.js}"
],
"outputPath": "release/out"
}
}