-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
executable file
·54 lines (54 loc) · 2.47 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
{
"name": "@grame/faustwasm",
"version": "0.7.7",
"description": "WebAssembly version of Faust Compiler",
"main": "dist/cjs/index.js",
"types": "dist/esm/index.d.ts",
"module": "dist/esm/index.js",
"type": "module",
"scripts": {
"build": "npm run build-cjs && npm run build-cjs-bundle && npm run build-esm && npm run build-esm-bundle && node postbuild-bundled.js & npm run build-types & npm run build-types-bundle",
"build-cjs": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --outdir=dist/cjs --format=iife --external:fs --external:url",
"build-cjs-bundle": "node prebuild-bundled.js && esbuild src/index-bundle-iife.ts --target=es2019 --bundle --sourcemap --loader:.wasm=binary --loader:.data=binary --outfile=dist/cjs-bundle/index.js --format=iife --external:fs --external:url --external:path --external:ws && node postbuild-bundled.js",
"build-esm": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --outdir=dist/esm --format=esm --external:fs --external:url",
"build-esm-bundle": "node prebuild-bundled.js && esbuild src/index-bundle.ts --target=es2019 --bundle --sourcemap --loader:.wasm=binary --loader:.data=binary --outfile=dist/esm-bundle/index.js --format=esm --external:fs --external:url --external:path --external:ws && node postbuild-bundled.js",
"build-types": "dts-bundle-generator -o dist/cjs/index.d.ts src/index.ts --external-imports",
"build-types-bundle": "dts-bundle-generator -o dist/cjs-bundle/index.d.ts src/index-bundle.ts --external-imports",
"postbuild": "node postbuild.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/grame-cncm/faustwasm.git"
},
"keywords": [
"faust",
"webassembly",
"audio",
"signal processing"
],
"bin": {
"faust2sndfile-ts": "scripts/faust2sndfile.js",
"faust2svg-ts": "scripts/faust2svg.js",
"faust2wasm-ts": "scripts/faust2wasm.js"
},
"author": "Grame-CNCM",
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/grame-cncm/faustwasm/issues"
},
"homepage": "https://github.com/grame-cncm/faustwasm#readme",
"devDependencies": {
"@aws-crypto/sha256-js": "^5.2.0",
"@shren/faust-ui": "^1.1.13",
"@types/node": "^20.12.7",
"@types/webmidi": "^2.0.10",
"@webaudiomodules/api": "^2.0.0-alpha.6",
"@webaudiomodules/sdk-parammgr": "^0.0.13",
"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.20.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@types/emscripten": "^1.39.10"
}
}