-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
250 lines (250 loc) · 9.82 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{
"name": "nw-buddy",
"version": "6.1.4-0",
"description": "New World Buddy",
"keywords": [],
"main": "dist/electron/main.js",
"private": true,
"author": {
"name": "Ginie"
},
"homepage": "https://giniedp.github.io/nw-buddy",
"repository": {
"type": "git",
"url": "git+https://github.com/giniedp/nw-buddy.git"
},
"scripts": {
"lint": "ng lint",
"tauri": "tauri",
"dev": "pnpm nw-generate env -c dev && npm-run-all -p dev:electron dev:web",
"dev:electron": "pnpm electron:serve",
"dev:web": "pnpm nw-generate env -c dev && ng serve --host 0.0.0.0 --disable-host-check -c dev -o",
"dev:web-cdn": "pnpm nw-generate env -c dev-cdn && ng serve --host 0.0.0.0 --disable-host-check -c dev-cdn -o",
"dev:ssr": "pnpm nw-generate env -c dev-ssr && ng serve --host 0.0.0.0 --disable-host-check -c dev-ssr -o",
"dev:server": "ng run nw-buddy:serve-ssr",
"dev:tools": "pnpm build:tools -w",
"dev:storybook": "ng run nw-buddy:storybook",
"dev:e2e": "pnpm playwright test --ui",
"dev:wrangler": "npx wrangler pages dev dist/web/browser",
"test:storybook": "concurrently -n SERVER,STORY -c red,green -k -s first \"pnpm storybook:serve --silent\" \"pnpm storybook:wait && pnpm storybook:test\"",
"test:storybook:coverage": "concurrently -n SERVER,STORY -c red,green -k -s first \"pnpm storybook:serve --silent\" \"pnpm storybook:wait && pnpm storybook:test --coverage\"",
"test:unit": "ng test --watch=false",
"test:unit:watch": "ng test",
"test:e2e": "pnpm playwright test",
"build:cloudflare": "pnpm nw-cdn download && pnpm build:web",
"build:electron": "pnpm electron:tsc && pnpm build:web-standalone && pnpm electron:builder",
"build:tools": "nx run @nw-buddy/tools:build",
"build:storybook": "pnpm storybook:build",
"build:docker:ssr": "pnpm build:web-ssr && pnpm docker:build:ssr",
"build:docker:ssr-cdn": "pnpm build:web-ssr-cdn && pnpm docker:build:ssr",
"build:docker:web": "pnpm build:web && pnpm docker:build",
"build:docker:web-cdn": "pnpm build:web-cdn && pnpm docker:build",
"build:web": "pnpm nw-generate env -c web && ng build -c web --ssr false && pnpm nw-generate version",
"build:web-cdn": "pnpm nw-generate env -c web-cdn && ng build -c web-cdn --ssr false && pnpm nw-generate version",
"build:web-ssr": "pnpm nw-generate env -c web && ng build -c web && pnpm nw-generate version",
"build:web-ssr-cdn": "pnpm nw-generate env -c web-cdn && ng build -c web-cdn && pnpm nw-generate version",
"build:web-standalone": "pnpm nw-generate env -c standalone && ng build -c standalone",
"electron:tsc": "tsc -p apps/electron/tsconfig.json",
"electron:serve": "pnpm electron:tsc && electron . --serve",
"electron:builder": "electron-builder build --publish=never --config=electron-config.js",
"nw-generate": "ts-node ./tools/nw-generate.ts",
"nw-inspect": "ts-node ./tools/nw-inspect.ts",
"nw-cdn": "ts-node ./tools/nw-cdn.ts",
"nw-functions": "ts-node ./tools/nw-functions.ts",
"nw-buddy": "pnpm build:tools && env-cmd --silent -f .env node ./tools/dist/tools/nw-buddy.js",
"nw-data-update": "pnpm nw-buddy unpack && pnpm nw-buddy convert -u && pnpm nw-buddy import",
"nw-quick-update": "pnpm nw-buddy extract -f **/*.datasheet **/*.loc.xml **/*.json && pnpm nw-buddy import \"locale,tables,code\"",
"cap:sync": "npx cap sync",
"cap:android:open": "npx cap open android",
"cap:android:run": "npx cap run android",
"docker:build": "docker build -f apps/docker/Dockerfile.static -t nw-buddy:latest .",
"docker:build:ssr": "docker build -f apps/docker/Dockerfile.ssr -t nw-buddy:latest .",
"docker:stop": "docker-compose -f apps/docker/compose.yml -p nw-buddy stop",
"docker:start": "docker-compose -f apps/docker/compose.yml -p nw-buddy up -d",
"docker:restart": "pnpm docker:stop && pnpm docker:start",
"release": "pnpm nw-cdn upload && git push",
"storybook:dev": "ng run nw-buddy:storybook",
"storybook:build": "ng run nw-buddy:build-storybook",
"storybook:serve": "npx http-server dist/web-storybook --port 5200",
"storybook:wait": "pnpm wait-on http://127.0.0.1:5200",
"storybook:test": "pnpm test-storybook -c apps/storybook --url http://127.0.0.1:5200",
"chromatic": "npx chromatic --storybook-build-dir dist/web-storybook"
},
"devDependencies": {
"@ag-grid-community/client-side-row-model": "31.3.2",
"@ag-grid-community/core": "31.3.2",
"@ag-grid-community/csv-export": "31.3.2",
"@ag-grid-community/infinite-row-model": "31.3.2",
"@ag-grid-community/styles": "31.3.2",
"@angular-architects/ngrx-toolkit": "18.1.1",
"@angular-devkit/architect": "0.1802.11",
"@angular-devkit/build-angular": "18.2.11",
"@angular-devkit/core": "18.2.11",
"@angular/animations": "18.2.11",
"@angular/cdk": "18.2.12",
"@angular/cli": "18.2.11",
"@angular/common": "18.2.11",
"@angular/compiler": "18.2.11",
"@angular/compiler-cli": "18.2.11",
"@angular/core": "18.2.11",
"@angular/forms": "18.2.11",
"@angular/language-service": "18.2.11",
"@angular/platform-browser": "18.2.11",
"@angular/platform-browser-dynamic": "18.2.11",
"@angular/platform-server": "18.2.11",
"@angular/router": "18.2.11",
"@angular/ssr": "^18.2.11",
"@aws-sdk/client-s3": "3.606.0",
"@aws-sdk/lib-storage": "3.606.0",
"@capacitor/android": "6.1.2",
"@capacitor/cli": "6.1.2",
"@capacitor/core": "6.1.2",
"@capacitor/ios": "6.1.2",
"@cloudflare/workers-types": "4.20240815.0",
"@ionic/angular": "8.3.3",
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
"@ngrx/component": "18.1.1",
"@ngrx/component-store": "18.1.1",
"@ngrx/effects": "18.1.1",
"@ngrx/signals": "18.1.1",
"@ngrx/store": "18.1.1",
"@ngrx/store-devtools": "18.1.1",
"@ngx-translate/core": "16.0.3",
"@octokit/core": "6.1.2",
"@playwright/test": "1.48.2",
"@popperjs/core": "2.11.8",
"@storybook/addon-a11y": "^8.4.2",
"@storybook/addon-backgrounds": "^8.4.2",
"@storybook/addon-essentials": "^8.4.2",
"@storybook/addon-interactions": "^8.4.2",
"@storybook/addon-links": "^8.4.2",
"@storybook/addon-storysource": "^8.4.2",
"@storybook/addon-themes": "^8.4.2",
"@storybook/angular": "^8.4.2",
"@storybook/blocks": "^8.4.2",
"@storybook/manager-api": "^8.4.2",
"@storybook/preview-api": "^8.4.2",
"@storybook/theming": "^8.4.2",
"@storybook/types": "^8.4.2",
"@tailwindcss/container-queries": "0.1.1",
"@tailwindcss/typography": "0.5.13",
"@tauri-apps/api": "1.6.0",
"@tauri-apps/cli": "1.6.0",
"@thirdweb-dev/storage": "1.2.10",
"@types/adm-zip": "0.5.5",
"@types/bun": "1.1.6",
"@types/cli-progress": "3.11.6",
"@types/compression": "1.7.5",
"@types/concat-stream": "2.0.3",
"@types/express": "4.17.21",
"@types/file-saver": "2.0.7",
"@types/geojson": "7946.0.14",
"@types/jasmine": "4.3.5",
"@types/jasminewd2": "2.0.13",
"@types/js-crc": "0.2.3",
"@types/lodash": "4.17.7",
"@types/mithril": "2.2.7",
"@types/node": "20.14.12",
"@types/tinycolor2": "1.4.6",
"@types/utif": "3.0.5",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"ag-grid-community": "31.3.2",
"autoprefixer": "10.4.20",
"babylonjs": "7.9.0",
"babylonjs-loaders": "7.9.0",
"babylonjs-serializers": "7.9.0",
"babylonjs-viewer": "7.9.0",
"chart.js": "4.4.3",
"chromatic": "11.5.4",
"comlink": "4.4.1",
"commander": "12.1.0",
"compression": "1.7.4",
"concurrently": "8.2.2",
"crc-32": "1.2.2",
"daisyui": "4.12.14",
"date-fns": "3.6.0",
"decode-tiff": "0.2.1",
"dexie": "3.2.7",
"dexie-export-import": "4.1.1",
"dice-coefficient": "2.1.1",
"dotenv": "16.4.5",
"electron": "31.1.0",
"electron-builder": "24.13.3",
"electron-reload": "2.0.0-alpha.1",
"env-cmd": "10.1.0",
"eslint": "9.6.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.5.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"express": "4.19.2",
"express-lru-cache": "1.0.6",
"file-saver": "2.0.5",
"html-to-image": "1.11.11",
"http-server": "14.1.1",
"jasmine-auto-spies": "8.0.1",
"jasmine-core": "5.1.2",
"jasmine-spec-reporter": "7.0.0",
"jimp": "1.6.0",
"js-crc": "0.2.0",
"karma": "6.4.3",
"karma-chrome-launcher": "3.2.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-electron": "7.3.0",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"karma-mocha-reporter": "2.2.5",
"lodash": "4.17.21",
"lru-cache": "10.3.0",
"lz-string": "1.5.0",
"maplibre-gl": "4.5.2",
"mdast-util-from-markdown": "2.0.1",
"micromatch": "4.0.7",
"mithril": "2.2.2",
"monaco-editor": "0.52.2",
"nanoid": "4.0.2",
"npm-run-all": "4.1.5",
"nx": "19.3.2",
"octokit": "4.0.2",
"papaparse": "5.4.1",
"postcss": "8.4.39",
"prettier": "3.3.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"resize-observer-polyfill": "1.5.1",
"rimraf": "5.0.7",
"rxjs": "7.8.1",
"sharp": "0.33.4",
"swiper": "11.1.4",
"tailwind": "4.0.0",
"tailwind-merge": "2.3.0",
"tailwindcss": "3.4.14",
"tesseract.js": "5.1.1",
"tinycolor2": "1.6.0",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"typescript": "~5.4.5",
"w3name": "1.0.8",
"wait-on": "7.2.0",
"web3.storage": "4.5.5",
"webdriver-manager": "12.1.9",
"webpack": "5.89.0",
"wrangler": "3.62.0",
"yauzl": "3.1.3",
"zod": "3.23.8",
"zone.js": "~0.14.7"
},
"engines": {
"node": ">=22"
},
"browserslist": [
"defaults and fully supports es6-module",
"ios_saf >= 14",
"safari >= 14",
"chrome >= 86"
],
"bugs": {
"url": "https://github.com/giniedp/nw-buddy/issues"
},
"packageManager": "[email protected]"
}