forked from flybywiresim/aircraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
199 lines (180 loc) · 10.8 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
{
"name": "a32nx",
"version": "0.12.0",
"edition": "development",
"imports": {
"#build-utils": "./build-utils.js"
},
"scripts": {
"====== Generic===============": "==========================================",
"build:cpp-wasm-cmake": "scripts/build-cmake.sh",
"build:cpp-wasm-cmake-clean": "scripts/build-cmake.sh --clean",
"build:cpp-wasm-cmake-debug": "scripts/build-cmake.sh --debug",
"build:cpp-wasm-cmake-debug-clean": "scripts/build-cmake.sh --debug --clean",
"====== A320 =================": "==========================================",
"build-a32nx:copy-base-package": "mkdir -p fbw-a32nx/out/flybywire-aircraft-a320-neo && (rsync -a fbw-a32nx/src/base/flybywire-aircraft-a320-neo fbw-a32nx/out/ || cp -a -u fbw-a32nx/src/base/flybywire-aircraft-a320-neo fbw-a32nx/out/)",
"build-a32nx:copy-base-lock-highlight-package": "mkdir -p fbw-a32nx/out/flybywire-aircraft-a320-neo-lock-highlight && (rsync -a fbw-a32nx/src/base/flybywire-aircraft-a320-neo-lock-highlight fbw-a32nx/out/ || cp -a -u fbw-a32nx/src/base/flybywire-aircraft-a320-neo-lock-highlight fbw-a32nx/out/)",
"build-a32nx:copy-base-files": "npm run build-a32nx:copy-base-package && npm run build-a32nx:copy-base-lock-highlight-package",
"build-a32nx:efb-translation": "cd fbw-common/src/systems/instruments/src/EFB/Localization && node build-flypad-translation.js",
"build-a32nx:locPak-translation": "cd fbw-a32nx/src/localization && node build-locPak-translation.js",
"build-a32nx:model": "node fbw-a32nx/src/model/buildv2.js && node fbw-a32nx/src/model/build.js",
"build-a32nx:behavior": "node fbw-a32nx/src/behavior/build.js",
"build-a32nx:atsu-common": "node fbw-a32nx/src/systems/atsu/common/build.js",
"build-a32nx:atsu-fms-client": "node fbw-a32nx/src/systems/atsu/fmsclient/build.js",
"build-a32nx:extras-host": "node fbw-a32nx/src/systems/extras-host/build.js",
"build-a32nx:failures": "rollup -c fbw-a32nx/src/systems/failures/rollup.config.js",
"build-a32nx:fmgc": "node fbw-a32nx/src/systems/fmgc/build.js",
"build-a32nx:instruments": "mach build --config fbw-a32nx/mach.config.js --work-in-config-dir",
"build-a32nx:sentry-client": "node fbw-a32nx/src/systems/sentry-client/build.js",
"build-a32nx:simbridge-client": "node fbw-a32nx/src/systems/simbridge-client/build.js",
"build-a32nx:systems-host": "node fbw-a32nx/src/systems/systems-host/build.js",
"build-a32nx:tcas": "node fbw-a32nx/src/systems/tcas/build.js",
"build-a32nx:pfd": "cd fbw-a32nx/src/systems/instruments/src/PFD && rollup -c",
"build-a32nx:clock": "cd fbw-a32nx/src/systems/instruments/src/Clock && rollup -c",
"build-a32nx:ewd": "cd fbw-a32nx/src/systems/instruments/src/EWD && rollup -c",
"build-a32nx:systems": "cargo build -p a320_systems_wasm --target wasm32-wasi --release && wasm-opt -O1 --signext-lowering --enable-bulk-memory -o /external/fbw-a32nx/out/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/panel/systems.wasm /external/target/wasm32-wasi/release/a320_systems_wasm.wasm",
"build-a32nx:fbw": "cd fbw-a32nx/src/wasm/fbw_a320 && ./build.sh && wasm-opt -O1 --signext-lowering -o /external/fbw-a32nx/out/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/panel/fbw.wasm /external/fbw-a32nx/out/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/panel/fbw.wasm",
"build-a32nx:terronnd": "cd fbw-common/src/wasm/terronnd && ./build.sh && wasm-opt -O1 --signext-lowering -o /external/fbw-a32nx/out/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/panel/terronnd.wasm /external/fbw-common/src/wasm/terronnd/out/terronnd.wasm",
"build-a32nx:metadata": "node scripts/metadata.js fbw-a32nx/out/flybywire-aircraft-a320-neo a32nx",
"build-a32nx:manifest": "node scripts/build_a32nx.js",
"prettier": "prettier --write **/*.json **/*.yml fbw-a32nx/src/systems/instruments/**/*.css",
"=======deprecated=========": "===========================",
"serve:efb": "cd fbw-a32nx/src/systems/instruments/src/EFB/ && vite --port 9696",
"build:instruments": "rollup --max-old-space-size=8192 -c src/systems/instruments/buildSrc/simulatorBuild.mjs",
"watch:instruments": "rollup --max-old-space-size=8192 -wc src/systems/instruments/buildSrc/simulatorBuild.mjs",
"====== A380 =================": "==========================================",
"build-a380x:copy-base-files": "mkdir -p fbw-a380x/out/flybywire-aircraft-a380-842 && (rsync -a fbw-a380x/src/base/flybywire-aircraft-a380-842 fbw-a380x/out/ || cp -a -u fbw-a380x/src/base/flybywire-aircraft-a380-842 fbw-a380x/out/)",
"build-a380x:efb-translation": "cd fbw-common/src/systems/instruments/src/EFB/Localization && node build-flypad-translation.js",
"build-a380x:locPak-translation": "cd fbw-a380x/src/localization && node build-locPak-translation.js",
"build-a380x:extras-host": "node fbw-a380x/src/systems/extras-host/build.js",
"build-a380x:instruments": "mach build --config fbw-a380x/mach.config.js --work-in-config-dir",
"build-a380x:systems-host": "node fbw-a380x/src/systems/systems-host/build.js",
"build-a380x:systems": "cargo build -p a380_systems_wasm --target wasm32-wasi --release && wasm-opt -O1 --signext-lowering --enable-bulk-memory -o /external/fbw-a380x/out/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/panel/systems.wasm /external/target/wasm32-wasi/release/a380_systems_wasm.wasm",
"build-a380x:fbw": "cd fbw-a380x/src/wasm/fbw_a380 && ./build.sh && wasm-opt -O1 --signext-lowering -o /external/fbw-a380x/out/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/panel/fbw.wasm /external/fbw-a380x/out/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/panel/fbw.wasm",
"build-a380x:terronnd": "cd fbw-common/src/wasm/terronnd && ./build.sh && wasm-opt -O1 --signext-lowering -o /external/fbw-a380x/out/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/panel/terronnd.wasm /external/fbw-common/src/wasm/terronnd/out/terronnd.wasm",
"build-a380x:metadata": "node scripts/metadata.js fbw-a380x/out/flybywire-aircraft-a380-842 a380x",
"build-a380x:manifest": "node scripts/build_a380x.js flybywire-aircraft-a380-842",
"====== INGAMEPANELS CHECKLIST FIX ====": "==========================================",
"build-ingamepanels-checklist-fix:copy-base-package": "mkdir -p fbw-ingamepanels-checklist-fix/out/flybywire-ingamepanels-checklist-fix && (rsync -a fbw-ingamepanels-checklist-fix/src/base/flybywire-ingamepanels-checklist-fix fbw-ingamepanels-checklist-fix/out/ || cp -a -u fbw-ingamepanels-checklist-fix/src/base/flybywire-ingamepanels-checklist-fix fbw-ingamepanels-checklist-fix/out/)",
"build-ingamepanels-checklist-fix:copy-base-files": "npm run build-ingamepanels-checklist-fix:copy-base-package",
"build-ingamepanels-checklist-fix:manifest": "node scripts/build_ingamepanels_checklist_fix.js",
"====== COMMON ================": "==========================================",
"lint": "eslint --cache **/*.{js,mjs,jsx,ts,tsx}",
"lint-fix": "npm run lint -- --fix",
"test": "jest"
},
"lint-staged": {
"*.{js,mjs,jsx}": "eslint --cache --fix",
"*.{json,yml,css,scss}": "prettier --write"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "~7.12.1",
"@babel/plugin-transform-runtime": "~7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@babel/preset-typescript": "~7.12.7",
"@flybywiresim/fragmenter": "^0.7.0",
"@flybywiresim/igniter": "^1.2.3",
"@flybywiresim/rnp": "^2.1.0",
"@navigraph/pkce": "^1.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",
"@sentry/types": "^6.17.7",
"@synaptic-simulations/mach": "^1.0.3",
"@types/jest": "^27.0.2",
"@types/react": "~17.0.11",
"@types/react-dom": "~17.0.8",
"@types/react-router-dom": "~5.1.7",
"@types/semver": "^7.3.13",
"@typescript-eslint/eslint-plugin": "~6.19.1",
"@typescript-eslint/parser": "~6.19.1",
"@vitejs/plugin-react": "^1.2.0",
"autoprefixer": "^10.4.2",
"dotenv": "^8.2.0",
"esbuild": "^0.19.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.17.3",
"fs-extra": "^10.1.0",
"jest": "^29.7.0",
"jsdom": "^16.4.0",
"postcss": "^8.4.5",
"postcss-color-functional-notation": "^4.2.2",
"postcss-inset": "^1.0.0",
"prettier": "^3.2.4",
"rollup": "^2.66.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^2.1.0",
"rollup-plugin-livereload": "~2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript-paths": "^1.3.0",
"tailwindcss": "^3.0.24",
"ts-jest": "^29.1.1",
"typescript": "^5.5.0",
"vite": "^4.4.9",
"vite-plugin-filter-replace": "^0.1.12",
"vite-tsconfig-paths": "^4.2.1"
},
"dependencies": {
"@flybywiresim/api-client": "^0.16.2",
"@flybywiresim/react-components": "^0.3.1",
"@flybywiresim/tailwind-config": "^0.5.0",
"@localazy/cli": "^1.6.0",
"@microsoft/msfs-sdk": "^0.8.0",
"@react-hook/mouse-position": "~4.1.0",
"@reduxjs/toolkit": "^1.6.2",
"@rollup/plugin-json": "^4.1.0",
"@sentry/browser": "^6.17.7",
"@sentry/integrations": "^6.17.7",
"@sentry/tracing": "^6.17.7",
"@tabler/icons": "^1.41.2",
"@types/react-canvas-draw": "^1.1.1",
"navigraph": "^1.2.35",
"byte-data": "^19.0.1",
"classnames": "^2.2.6",
"esbuild-plugin-inline-image": "^0.0.8",
"esbuild-style-plugin-v2": "^1.6.5",
"geolib": "^3.3.3",
"i18next": "^21.6.14",
"json5": "^2.2.3",
"lodash": "^4.17.20",
"msfs-geo": "^0.1.0-alpha3",
"msfs-navdata": "^1.1.0",
"nanoid": "^3.3.1",
"network": "^0.6.1",
"qrcode.react": "^1.0.1",
"rc-slider": "^9.7.5",
"react": "^17.0.0",
"react-bootstrap-icons": "^1.10.3",
"react-dom": "^17.0.0",
"react-error-boundary": "^3.1.4",
"react-i18next": "^11.16.2",
"react-icons": "^5.2.0",
"react-redux": "^7.2.6",
"react-router": "~5.2.0",
"react-router-dom": "~5.2.0",
"react-simple-keyboard": "^3.3.11",
"react-toastify": "^8.1.0",
"react-zoom-pan-pinch": "^2.1.2",
"redux": "^4.1.1",
"redux-thunk": "^2.3.0",
"rollup-plugin-scss": "^3.0.0",
"safe-stable-stringify": "^2.3.1",
"sass": "^1.45.1",
"semver": "^7.3.8",
"simple-keyboard-layouts": "^3.1.32",
"use-events": "^1.4.2",
"uuid": "^9.0.0",
"ws": "^7.4.5"
}
}