-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
218 lines (218 loc) · 8.03 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
{
"name": "fbw-simbridge",
"version": "0.6.2",
"description": "The simbridge server for FBW addons for various tasks the addons themselves can't achieve",
"author": "",
"private": false,
"license": "GPL-3.0-only",
"os": [
"win32"
],
"engines": {
"node": "18.x.x"
},
"scripts": {
"prepub": "copy package.json dist && copy README.md dist && copy LICENSE dist && copy CODE_OF_CONDUCT.md dist",
"pub": "cd dist && npm publish",
"postpub": "cd dist && del package.json && del README.md && del LICENSE && del CODE_OF_CONDUCT.md",
"prebuild": "rimraf dist && rimraf build && rimraf build-modules",
"build": "npm run build:server && npm run build:mcdu",
"build:mcdu": "webpack --config apps/mcdu/webpack.config.js",
"build:server": "nest build server",
"build:exec": "npm run build && npm run install:exec",
"build:package": "node scripts/package.js",
"install:exec": "node doExe.mjs && npm run copy:deps && npm run build:package",
"copy:deps": "npm run copy:resources && npm run copy:modules && copyfiles -s -f LICENSE build && npm run fetch:terrain",
"copy:resources": "copyfiles -s -f apps/server/src/config/properties.json ./node_modules/pdf-to-printer/dist/*.exe build/resources && renamer -f \"/Sumatra.*/i\" -r SumatraPDF.exe build/resources/*",
"copy:modules": "npm run copy:pdfjs && npm run copy:nodehide && npm run copy:sharp && npm run copy:open",
"copy:pdfjs": "copyfiles -s -f \"node_modules/pdfjs-dist/build/**/*.*\" build/node_modules/pdfjs-dist/build && npm run copy:pdfjs:fonts && npm run copy:pdfjs:cmaps",
"copy:pdfjs:fonts": "copyfiles -s -f \"node_modules/pdfjs-dist/standard_fonts/**/*.*\" build/node_modules/pdfjs-dist/standard_fonts",
"copy:pdfjs:cmaps": "copyfiles -s -f \"node_modules/pdfjs-dist/cmaps/**/*.*\" build/node_modules/pdfjs-dist/cmaps",
"copy:nodehide": "copyfiles -s -f \"node_modules/node-hide-console-window/build/Release/**/*\" build/node_modules/node-hide-console-window/build/Release",
"copy:sharp": "copyfiles -s -f \"node_modules/sharp/build/Release/**/*\" build/node_modules/sharp/build/Release",
"copy:open": "copyfiles -s -f \"node_modules/open/xdg-open\" build/node_modules/open",
"fetch:terrain": "node scripts/terrain.js",
"start": "nest start server",
"start:dev": "nest start server --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint --cache **/*.{js,mjs,jsx,ts,tsx}",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./apps/fbw-local-api/test/jest-e2e.json"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"dependencies": {
"@flybywiresim/msfs-nodejs": "^0.4.0",
"@nestjs/axios": "^0.0.6",
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.2.0",
"@nestjs/core": "^8.0.0",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/platform-ws": "^8.3.1",
"@nestjs/serve-static": "^2.2.2",
"@nestjs/swagger": "^5.1.5",
"@nestjs/terminus": "^8.0.4",
"@nestjs/websockets": "^8.3.1",
"@types/pdfjs-dist": "^2.10.378",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.2",
"copyfiles": "^2.4.1",
"dns-packet": "^5.4.0",
"gpu.js": "^2.16.0",
"ip": "^1.1.5",
"mime-types": "^2.1.34",
"multicast-dns": "^7.2.5",
"nest-winston": "^1.6.2",
"node-hide-console-window": "^2.2.0",
"open": "^8.4.0",
"pdf-to-printer": "5.3.0",
"pdfjs-dist": "^2.13.216",
"pdfkit": "^0.13.0",
"platform-folders": "^0.6.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-use-websocket": "^2.9.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"sharp": "^0.32.6",
"skia-canvas": "^1.0.2",
"swagger-ui-express": "^4.3.0",
"systray2": "^2.1.4",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5",
"ws": "^8.5.0",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@angablue/exe": "^2.0.2",
"@babel/core": "^7.17.5",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-react-constant-elements": "^7.17.6",
"@babel/plugin-transform-react-inline-elements": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/runtime": "^7.17.2",
"@flybywiresim/fragmenter": "^0.7.1",
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-image": "~2.0.6",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-typescript": "~8.0.0",
"@types/dns-packet": "^5.2.4",
"@types/express": "^4.17.13",
"@types/ip": "^1.1.0",
"@types/jest": "27.0.2",
"@types/mime-types": "^2.1.1",
"@types/multicast-dns": "^7.2.1",
"@types/node": "^16.0.0",
"@types/pdfkit": "^0.12.3",
"@types/sharp": "^0.31.1",
"@types/supertest": "^2.0.11",
"@types/ws": "^8.2.2",
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"axios": "^0.27.2",
"babel-loader": "^8.2.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.6.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.2.5",
"mini-css-extract-plugin": "^2.5.3",
"node-fetch": "^2.6.7",
"pkg": "^5.5.1",
"renamer": "^4.0.0",
"rollup": "^2.67.2",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^2.1.0",
"rollup-plugin-livereload": "~2.0.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-serve": "~1.1.0",
"rollup-plugin-typescript-paths": "^1.3.0",
"run-script-webpack-plugin": "^0.0.11",
"source-map-support": "^0.5.20",
"style-loader": "^3.3.1",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.6",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5",
"url-loader": "^4.1.1",
"webpack": "^5.66.0",
"webpack-cli": "^4.9.2",
"webpack-node-externals": "^3.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/"
]
},
"pkg": {
"targets": [
"node18-win-x64"
],
"assets": [
"node_modules/linebreak/src/classes.trie",
"node_modules/sharp/**/*.*",
"node_modules/skia-canvas/**/*.*",
"node_modules/canvas/**/*.*",
"node_modules/pdfkit/js/data/Helvetica.afm",
"node_modules/swagger-ui-dist/**/*.*",
"node_modules/gpu.js/**/*.*",
"node_modules/gl/**/*.*",
"node_modules/gl-wiretap/**/*.*",
"node_modules/glsl-tokenizer/**/*.*",
"node_modules/gpu-mock.js/**/*.*",
"node_modules/bindings/**/*.*",
"node_modules/file-uri-to-path/**/*.*",
"node_modules/bit-twiddle/**/*.*",
"node_modules/@flybywiresim/msfs-nodejs/**/*.*",
"node_modules/es-get-iterator/**/*.*",
"node_modules/platform-folders/build/**/*.*",
"/node_modules/systray2/traybin/*.exe",
"dist/mcdu/**/*",
"dist/assets/**/*",
"dist/terrain/mapdata/**/*.*",
"dist/terrain/processing/**/*.*",
"dist/terrain/communication/**/*.*",
"dist/terrain/fileformat/**/*.*"
],
"outputPath": "build"
}
}