Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.93 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
{
"name": "@meenie/band.js",
"version": "2.0.3",
"description": "Band.js - Music Composer - An interface for the Web Audio API that supports rhythms, multiple instruments, repeating sections, and complex time signatures.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./instrument-packs/*": {
"import": "./dist/instrument-packs/*.js",
"types": "./dist/instrument-packs/*.d.ts"
},
"./rhythm-packs/*": {
"import": "./dist/rhythm-packs/*.js",
"types": "./dist/rhythm-packs/*.d.ts"
},
"./tuning-packs/*": {
"import": "./dist/tuning-packs/*.js",
"types": "./dist/tuning-packs/*.d.ts"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rm -rf dist",
"build:js": "bun build ./src/index.ts ./src/instrument-packs/noises.ts ./src/instrument-packs/oscillators.ts ./src/rhythm-packs/european.ts ./src/rhythm-packs/north-american.ts ./src/tuning-packs/equal-temperament.ts --outdir ./dist --target browser --minify --sourcemap",
"build:types": "tsc -p tsconfig.build.json",
"build": "bun run clean && bun run build:js && bun run build:types",
"test": "bun test",
"example:mario": "bun run examples/mario-bros-overworld/server.ts",
"prepublishOnly": "bun run build && bun run test"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/meenie/band.js.git"
},
"author": "Cody Lundquist",
"license": "MIT",
"keywords": [
"webaudio",
"music",
"audio",
"sequencer",
"player"
],
"devDependencies": {
"@types/bun": "latest",
"@types/sinon": "^17.0.4",
"semver": "^2.3.1",
"standardized-audio-context-mock": "^9.7.22",
"typescript": "^5"
},
"dependencies": {
"standardized-audio-context": "^25.3.77"
}
}