Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.54 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
{
"name": "@misofm/codec",
"version": "0.2.0",
"description": "Effect-based audio codec primitives backed by pinned libFLAC WebAssembly",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/misofm/codec.git"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"sideEffects": false,
"engines": {
"bun": ">=1.4.2 <1.5",
"node": ">=22.23.2 <23"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.js"
},
"./wasm/flac-encoder.wasm": "./wasm/flac-encoder.wasm",
"./wasm/flac-decoder.wasm": "./wasm/flac-decoder.wasm",
"./package.json": "./package.json"
},
"files": [
"dist",
"wasm/*.wasm",
"wasm/*.manifest.json",
"README.md",
"CHANGELOG.md",
"docs/*.md",
"LICENSE",
"THIRD_PARTY_NOTICES.md",
"vendor/licenses"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:wasm": "bun run scripts/build-wasm.ts --verify && bun run scripts/build-decoder-wasm.ts --verify",
"build:wasm:update": "bun run scripts/build-wasm.ts --update && bun run scripts/build-decoder-wasm.ts --update",
"build:wasm:verify": "bun run scripts/build-wasm.ts --verify && bun run scripts/build-decoder-wasm.ts --verify",
"check": "bun run format:check && bun run typecheck && bun test",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/*.{ts,mjs}\" \"consumer/**/*.ts\" \"benchmark/*.ts\" \"benchmark/*.md\" \"benchmark/tsconfig.json\" \"docs/*.md\" \"*.md\" \".github/**/*.md\" \".github/**/*.yml\" \"*.json\"",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/*.{ts,mjs}\" \"consumer/**/*.ts\" \"benchmark/*.ts\" \"benchmark/*.md\" \"benchmark/tsconfig.json\" \"docs/*.md\" \"*.md\" \".github/**/*.md\" \".github/**/*.yml\" \"*.json\"",
"pack:check": "node scripts/pack-check.mjs",
"test": "bun test",
"test:integration": "if [ -z \"$CODEC_NATIVE_FLAC\" ]; then echo 'CODEC_NATIVE_FLAC must name the pinned native flac binary' >&2; exit 1; fi; bun test test/*-native-integration.test.ts",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p benchmark/tsconfig.json --noEmit"
},
"peerDependencies": {
"effect": ">=4.0.3 <4.1"
},
"devDependencies": {
"@types/bun": "1.3.9",
"@types/node": "22.20.2",
"effect": "4.0.4",
"playwright": "1.62.1",
"prettier": "3.6.2",
"typescript": "5.9.3"
}
}