-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 3.88 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 3.88 KB
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
{
"name": "flight-hx",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"api": "tsx tools/generator/src/cli.ts --api",
"api:check": "tsx tools/generator/src/cli.ts --api --check",
"api:json": "tsx tools/generator/src/cli.ts --api --json",
"build": "tsc -p tsconfig.build.json",
"build:check": "tsc -p tsconfig.json --noEmit",
"build:haxe:js": "node tools/haxe.mjs -cp src -cp generated -cp tests/haxe --main JsEntry --js build/haxe-js/flight.cjs -D js-es=6 --macro \"include('flight')\" --macro \"addGlobalMetadata('flight', '@:expose')\"",
"check": "npm run generate:check && npm run typecheck && npm run lint && npm run format:check && npm run api:check && npm run cairo:check",
"ci": "npm run build && npm run check && npm run test && npm run package",
"clean": "node -e \"for (const path of ['dist', 'build', 'coverage']) require('fs').rmSync(path, { force: true, recursive: true })\"",
"example": "node tools/run-example.mjs",
"fix": "npm run lint:fix && npm run format",
"format": "oxfmt --write --disable-nested-config .",
"format:check": "oxfmt --check --disable-nested-config .",
"generate": "tsx tools/generator/src/cli.ts",
"generate:check": "tsx tools/generator/src/cli.ts --check",
"haxe": "node tools/haxe.mjs",
"haxe:version": "node tools/haxe.mjs --version",
"lint": "oxlint --max-warnings=0",
"lint:fix": "oxlint --fix --max-warnings=0",
"package": "node tools/package-haxelib.mjs",
"setup": "node tools/setup-haxe.mjs",
"test": "npm run test:unit && npm run test:haxe:all && npm run test:haxe:lime && npm run test:haxe:lime:html5 && npm run test:portable && npm run test:upstream",
"test:coverage": "vitest run --coverage",
"test:generator": "vitest run tests/generator",
"test:haxe:all": "node tools/haxe.mjs -cp src -cp generated -cp tests/haxe --main CoreSmoke --interp --macro \"include('flight')\"",
"test:haxe:core": "node tools/haxe.mjs -cp src -cp generated -cp tests/haxe --main CoreSmoke --interp",
"test:haxe:lime": "node tools/haxe.mjs -lib lime -cp src -cp generated -cp tests/haxe --main flight.hostLime.HostLimeSmoke --interp --macro \"include('flight.hostLime')\"",
"test:haxe:lime:html5": "node tools/haxe.mjs -lib lime -cp src -cp generated -cp tests/haxe --main flight.hostLime.HostLimeSmoke --js build/host-lime-smoke.js -D html5 --macro \"include('flight.hostLime')\"",
"test:haxe:lime:native": "node tests/host-lime/native-smoke/run.mjs",
"test:portable": "node tools/test-portable.mjs",
"test:portable:cpp": "node tools/test-portable.mjs cpp",
"test:portable:eval": "node tools/test-portable.mjs eval",
"test:portable:js": "node tools/test-portable.mjs js",
"test:portable:python": "node tools/test-portable.mjs python",
"test:unit": "vitest run",
"test:upstream": "npm run build:haxe:js && node tools/test-upstream.mjs",
"test:upstream:math": "npm run build:haxe:js && node tools/test-upstream.mjs --package math",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test:examples": "node tools/examples-smoke.mjs --target all",
"test:examples:neko": "node tools/examples-smoke.mjs --target neko",
"test:examples:html5": "node tools/examples-smoke.mjs --target html5",
"test:examples:linux": "node tools/examples-smoke.mjs --target linux",
"cairo:aliases": "node tools/derive-cairo-aliases.mjs",
"cairo:check": "node tools/derive-cairo-aliases.mjs --check"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@types/node": "22.19.7",
"@vitest/coverage-v8": "4.1.10",
"@webgpu/types": "0.1.71",
"jsdom": "^27.4.0",
"lix": "16.0.2",
"oxfmt": "0.57.0",
"oxlint": "1.72.0",
"tsx": "4.22.4",
"typescript": "5.9.3",
"vitest": "4.1.10",
"vitest-webgl-canvas-mock": "^1.1.0",
"yazl": "3.3.1"
},
"dependencies": {
"@flighthq/sdk": "^0.5.0-next.1944.cd6b6e7"
}
}