-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.88 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "webgpu-fft",
"version": "1.1.0",
"description": "FFT library with a WebGPU-accelerated core engine plus CPU-based signal and image processing utilities",
"author": "WebGPU FFT Library Contributors",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./utils": {
"types": "./dist/utils.d.ts",
"import": "./dist/utils.js",
"require": "./dist/utils.cjs"
},
"./validation": {
"types": "./dist/validation.d.ts",
"import": "./dist/validation.js",
"require": "./dist/validation.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"repository": {
"type": "git",
"url": "https://github.com/LessUp/gpu-fft.git"
},
"bugs": {
"url": "https://github.com/LessUp/gpu-fft/issues"
},
"homepage": "https://github.com/LessUp/gpu-fft#readme",
"keywords": [
"webgpu",
"fft",
"gpu",
"signal-processing",
"image-processing",
"fourier-transform",
"dsp",
"spectrum-analyzer",
"frequency-domain",
"compute-shader"
],
"scripts": {
"dev": "vite",
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run clean && tsc --emitDeclarationOnly && vite build && node -e \"require('node:fs').copyFileSync('dist/utils/index.d.ts', 'dist/utils.d.ts')\"",
"smoke:package": "node scripts/smoke-package.mjs",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src tests benchmarks",
"lint:fix": "eslint src tests benchmarks --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"benchmarks/**/*.ts\" \"*.json\" \"*.md\" \".github/workflows/*.yml\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"benchmarks/**/*.ts\" \"*.json\" \"*.md\" \".github/workflows/*.yml\"",
"typecheck": "tsc --noEmit",
"docs:dev": "npm -C docs run dev",
"docs:build": "npm -C docs run build",
"docs:preview": "npm -C docs run preview",
"benchmark": "npx tsx benchmarks/fft-benchmark.ts",
"prepare": "husky",
"prepublishOnly": "npm run lint && npm run format:check && npm run typecheck && npm run test:coverage && npm run build && npm run smoke:package"
},
"devDependencies": {
"@eslint/js": "^9.32.0",
"@vitest/coverage-v8": "^4.1.4",
"@webgpu/types": "^0.1.69",
"eslint": "^9.32.0",
"fast-check": "^4.6.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.3",
"typedoc": "^0.28.19",
"typescript": "^5.9.3",
"typescript-eslint": "^8.38.0",
"vite": "^8.0.8",
"vitest": "^4.1.4"
},
"engines": {
"node": ">=18.0.0"
}
}