-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 4.81 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 4.81 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
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
{
"name": "@emnudge/wat-fft",
"version": "0.0.0",
"description": "High-performance FFT in WebAssembly",
"keywords": [
"audio",
"dsp",
"fft",
"fourier",
"rfft",
"signal-processing",
"transform",
"wasm",
"webassembly"
],
"license": "ISC",
"author": "EmNudge",
"repository": {
"type": "git",
"url": "git+https://github.com/EmNudge/wat-fft.git"
},
"files": [
"browser.d.ts",
"browser.js",
"index.d.ts",
"index.js",
"dist/*.wasm"
],
"type": "module",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js"
},
"./browser": {
"types": "./browser.d.ts",
"import": "./browser.js"
},
"./wasm/fft.wasm": "./dist/fft_combined.wasm",
"./wasm/fft-f32.wasm": "./dist/fft_stockham_f32_dual.wasm",
"./wasm/rfft.wasm": "./dist/fft_real_combined.wasm",
"./wasm/rfft-f32.wasm": "./dist/fft_real_f32_dual.wasm"
},
"scripts": {
"test": "npm run test:fft && npm run test:combined && npm run test:ifft",
"test:all": "npm run test && npm run test:rfft && npm run test:boundary && npm run test:correctness && npm run test:output-order && npm run test:f32 && npm run test:twiddles && npm run test:golden && npm run test:perbin && npm run test:perbin-f32 && npm run test:accuracy && npm run test:split && npm run test:thirdparty && npm run test:bench-correctness && npm run test:bench-coverage",
"test:split": "node --test tests/fft_split_native.test.js",
"test:thirdparty": "node --test tests/third-party-correctness.test.js",
"test:bench-correctness": "node --test tests/benchmark-correctness.test.js",
"test:bench-coverage": "node --test tests/benchmark-coverage.test.js",
"test:ifft": "node tests/ifft.test.js",
"test:twiddles": "node tests/twiddle_validation.test.js",
"test:property": "node --test tests/property_based.test.js",
"test:golden": "node --test tests/golden_reference.test.js",
"test:perbin": "node --test tests/per_bin_validation.test.js",
"test:perbin-f32": "node --test tests/per_bin_f32.test.js",
"test:accuracy": "node --test tests/accuracy.test.js",
"test:output-order": "node --test tests/output-order.test.js",
"test:fft": "node tests/fft.test.js",
"test:combined": "node tests/combined.test.js",
"test:rfft": "node --test tests/rfft.test.js",
"test:f32": "node tests/fft_f32_dual.test.js",
"test:boundary": "node --test tests/boundary.test.js",
"test:butterfly": "node tools/butterfly_tester.js",
"test:correctness": "node --test tests/correctness/*.test.js",
"test:correctness:roundtrip": "node --test tests/correctness/fft.roundtrip.test.js",
"test:correctness:parseval": "node --test tests/correctness/fft.parseval.test.js",
"test:correctness:linearity": "node --test tests/correctness/fft.linearity.test.js",
"test:correctness:shift": "node --test tests/correctness/fft.shift.test.js",
"test:correctness:reference": "node --test tests/correctness/fft.reference.test.js",
"test:correctness:known": "node --test tests/correctness/fft.known-values.test.js",
"debug:compare": "node tools/wasm_compare.js",
"debug:index": "node tools/index_visualizer.js",
"debug:perm": "node tools/permutation_validator.js",
"debug:ref": "node tools/stockham_reference.js",
"debug:split": "node tests/debug_split.js",
"build": "node build.js",
"bench": "node benchmarks/fft.bench.js",
"bench:rfft": "node benchmarks/rfft.bench.js",
"bench:f32": "node benchmarks/fft_f32_dual.bench.js",
"bench:ifft32": "node benchmarks/ifft_f32_dual.bench.js",
"bench:rfft32": "node benchmarks/rfft_f32_dual.bench.js",
"bench:irfft32": "node benchmarks/irfft_f32_dual.bench.js",
"bench:gpu": "deno run -A benchmarks/deno/setup.ts && deno bench -A --unstable-webgpu benchmarks/deno/fft_gpu.bench.ts && deno run -A --unstable-webgpu benchmarks/deno/fft_gpu_throughput.ts",
"bench:browser": "vitest bench --run",
"bench:browser:ci": "vitest bench --run --outputJson=benchmark-results.json",
"bench:check": "node scripts/check-benchmarks.js",
"bench:diff": "node scripts/bench-diff.js",
"accuracy": "node tools/accuracy_report.js",
"lint": "oxlint .",
"lint:all": "npm run lint && npm run lint:wasm",
"lint:wasm": "node tools/lint-wasm-dead-code.js",
"format": "oxfmt --write .",
"format:check": "oxfmt --check ."
},
"devDependencies": {
"@echogarden/pffft-wasm": "^0.4.2",
"@vitest/browser": "^3.0.0",
"fast-check": "^4.5.3",
"fft-js": "^0.0.12",
"fft.js": "^4.0.4",
"fftw-js": "^0.1.4",
"kissfft-js": "^0.1.8",
"kissfft-wasm": "^2.0.1",
"oxfmt": "^0.26.0",
"oxlint": "^1.41.0",
"playwright": "^1.50.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0",
"webfft": "^1.0.3"
},
"engines": {
"node": ">=18"
}
}