-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeno.json
More file actions
83 lines (83 loc) · 3.32 KB
/
deno.json
File metadata and controls
83 lines (83 loc) · 3.32 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
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@fusionstrings/swiss-eph",
"version": "0.2.1",
"description": "Swiss Ephemeris WASM binding for Deno, Node.js and Browser",
"license": "AGPL-3.0",
"exports": {
".": "./src/wasm_loader.ts",
"./wasi": "./src/main.ts",
"./wasi-loader": "./src/loader.ts",
"./wasm": "./lib/wasm/swiss_eph.wasm",
"./inline": "./src/inline_loader.ts"
},
"publish": {
"include": [
"README.md",
"LICENSE",
"src/**/*.ts",
"lib/wasm-inline/",
"lib/wasm/",
"lib/wasi/"
],
"exclude": [
"lib/wasm-sdk/",
".github",
".vscode",
"artifacts",
"bindings",
"scripts",
"tests",
"toolchain",
"Makefile",
"*.c",
"generated_wrappers.ts",
"!lib/wasm/**",
"!lib/wasm-inline/**",
"!lib/wasi/swiss_eph.wasm"
]
},
"tasks": {
"setup": "deno run -A scripts/setup_toolchain.ts",
"build:wasm": "make -j4",
"build:wasmbuild": "CC=./toolchain/wasi-sdk-24.0/bin/clang deno run -A wasmbuild --project swiss-eph --out lib/wasm",
"build:wasmbuild:inline": "CC=./toolchain/wasi-sdk-24.0/bin/clang deno run -A wasmbuild --project swiss-eph --inline --out lib/wasm-inline",
"build:swetest": "make -C vendor/swisseph swetest",
"check:header": "deno run -A scripts/codegen.ts",
"test": "deno test -A tests/test_suite.ts tests/swetest_comparison.test.ts",
"test:rust": "cargo test",
"test:deno": "deno test -A tests/test_suite.ts tests/swetest_comparison.test.ts",
"test:swetest": "deno test -A tests/swetest_comparison.test.ts",
"test:deno:e2e": "deno run -A tests/e2e/deno/test.ts",
"bench": "deno bench -A tests/swetest_comparison.test.ts",
"bench:compare": "deno run -A scripts/benchmark_compare.ts",
"test:browser": "deno run -A tests/e2e/browser/build.ts && deno run -A --unstable-net tests/e2e/browser/runner.ts",
"test:cloudflare": "echo 'Run: cd tests/e2e/cloudflare && npx wrangler dev'",
"test:all": "deno task test && deno task test:node",
"test:node": "node --no-warnings tests/e2e/node/test.ts",
"check-version": "deno run -A scripts/check_version.ts",
"bump-version": "deno run -A scripts/version_bump.ts",
"check:publish": "deno publish --dry-run --allow-dirty",
"verify:golden": "deno run -A scripts/verify_golden.ts",
"gen:golden": "make swetest_enhanced.wasm && deno run -A scripts/run_swetest_wasm.ts > tests/fixtures/golden_values.ts && deno fmt tests/fixtures/golden_values.ts && rm swetest_enhanced.wasm"
},
"imports": {
"@deno/dnt": "jsr:@deno/dnt@^0.42.3",
"@std/fs": "jsr:@std/fs@^1.0.22",
"@std/path": "jsr:@std/path@^1.1.4",
"@std/io": "jsr:@std/io@^0.225.2",
"@std/assert": "jsr:@std/assert@^1.0.17",
"@std/encoding": "jsr:@std/encoding@^1.0.10",
"@std/cli": "jsr:@std/cli@^1.0.26",
"@std/http": "jsr:@std/http@^1.0.23",
"esbuild": "npm:esbuild@^0.27.2",
"puppeteer": "npm:puppeteer@^24.35.0",
"wasmbuild": "jsr:@deno/wasmbuild@^0.21.0",
"wasi_snapshot_preview1": "./src/wasi_snapshot_preview1.ts",
"env": "./src/env_mock.ts",
"@fusionstrings/swiss-eph": "./src/wasm_loader.ts",
"@fusionstrings/swiss-eph/wasi": "./src/main.ts",
"@fusionstrings/swiss-eph/inline": "./src/inline_loader.ts",
"@fusionstrings/swiss-eph/wasm": "./lib/wasm/swiss_eph.wasm"
},
"nodeModulesDir": "auto"
}