@kidlib/web-audio 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +24 -0
- package/dist/components.d.ts +94 -0
- package/dist/components.js +398 -0
- package/dist/index.d.ts +1283 -0
- package/dist/index.js +7550 -0
- package/dist/io.d.ts +239 -0
- package/dist/io.js +193 -0
- package/dist/keymap-3lZMR1Ak.js +167 -0
- package/dist/processors/processors.js +1627 -0
- package/package.json +72 -0
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kidlib/web-audio",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "High-level Web Audio primitives for musical instruments and tools.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/KristinnRoach/web-audio.git"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"packageManager": "pnpm@11.5.2",
|
|
14
|
+
"type": "module",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./io": {
|
|
22
|
+
"types": "./dist/io.d.ts",
|
|
23
|
+
"import": "./dist/io.js"
|
|
24
|
+
},
|
|
25
|
+
"./components": {
|
|
26
|
+
"types": "./dist/components.d.ts",
|
|
27
|
+
"import": "./dist/components.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build:worklets": "node build-processors.js && mkdir -p dist",
|
|
35
|
+
"build": "pnpm clean && node build-processors.js && vite build",
|
|
36
|
+
"prepack": "pnpm build",
|
|
37
|
+
"watch:processors": "node watch-processors.js",
|
|
38
|
+
"watch": "mkdir -p dist && node build-processors.js && concurrently \"vitest\" \"tsc --emitDeclarationOnly --watch\" \"vite build --watch\" \"pnpm watch:processors\"",
|
|
39
|
+
"clean": "rimraf dist && mkdir -p dist",
|
|
40
|
+
"clean:turbo": "rimraf .turbo",
|
|
41
|
+
"clean:all": "rimraf dist node_modules && pnpm store prune && pnpm prune",
|
|
42
|
+
"lint": "eslint . ",
|
|
43
|
+
"lint:fix": "eslint . --fix",
|
|
44
|
+
"format": "prettier --write .",
|
|
45
|
+
"format:check": "prettier --check .",
|
|
46
|
+
"preview": "vite preview",
|
|
47
|
+
"pretest": "pnpm build:worklets",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"test:browser": "vitest run --config vitest.browser.config.ts",
|
|
50
|
+
"test:coverage": "vitest run --coverage",
|
|
51
|
+
"test:watch": "vitest",
|
|
52
|
+
"test:all": "npm run test && npm run test:browser"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"dexie": "^4.0.11",
|
|
56
|
+
"webmidi": "^3.1.13"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@types/audioworklet": "^0.0.72",
|
|
60
|
+
"@types/webmidi": "^2.1.0",
|
|
61
|
+
"@vitest/browser": "^3.2.4",
|
|
62
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
63
|
+
"concurrently": "^9.1.2",
|
|
64
|
+
"jsdom": "^26.0.0",
|
|
65
|
+
"playwright": "^1.53.2",
|
|
66
|
+
"rimraf": "^5.0.1",
|
|
67
|
+
"typescript": "5.8.3",
|
|
68
|
+
"vite": "^6.0.0",
|
|
69
|
+
"vite-plugin-dts": "^4.5.3",
|
|
70
|
+
"vitest": "^3.2.4"
|
|
71
|
+
}
|
|
72
|
+
}
|