-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
36 lines (36 loc) · 1.55 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
{
"scripts": {
"du": "find src -iname \"*.min.js\" -printf \"%s %p\n\" | perl -pe 's|^(\\d+)(.*)|sprintf(\"%10.1f\", $1/1024).$2|e;'\\;",
"configure": "make configure -j16",
"build": "make clean && make -j16",
"build-puff": "node src/common/src/puff/build_puff.js",
"install-decoders": "./decoder-npm-install.sh",
"minify": "UV_THREADPOOL_SIZE=1024 node build.js $SOURCE_PATH $OUTPUT_NAME $COMPRESSION_ITERATIONS $MODULE $MODULE_MIN",
"deploy": "gh-pages -d demo",
"format": "prettier --cache --write '**/*.js' --write '**/*.*json*' --write '**/*.*html*' --write '**/*.*ts'",
"test": "npm run test-ts && node --experimental-vm-modules node_modules/.bin/jest --maxWorkers=100%",
"test-ts": "tsc test/wasm-audio-decoders.ts --noEmit --module nodenext --target esnext",
"generate-data": "find test/expected -iname \"*.wav\" -exec gzip -fnk {} ';'"
},
"type": "module",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/jest": "^29.5.13",
"@wasm-audio-decoders/flac": "file:src/flac",
"@wasm-audio-decoders/ogg-vorbis": "file:src/ogg-vorbis",
"@wpdas/wave-header": "^1.0.1",
"codec-parser": "2.5.0",
"gh-pages": "^6.2.0",
"jest": "^29.7.0",
"mpg123-decoder": "file:src/mpg123-decoder",
"node-zopfli": "^2.1.4",
"ogg-opus-decoder": "file:src/ogg-opus-decoder",
"opus-decoder": "file:src/opus-decoder",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"simple-yenc": "1.0.4",
"terser": "^5.36.0",
"typescript": "^5.6.3",
"web-worker": "^1.3.0"
}
}