@sudobility/music_player 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.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @sudobility/music_player — everything that makes sound.
3
+ *
4
+ * The transport, the two synth engines (libfluidsynth on the web, sample packs
5
+ * on React Native), plan building, and offline rendering. It takes a `Score`
6
+ * and produces audio; it knows nothing about editing, files or the store.
7
+ *
8
+ * Its own package because playback was previously spread across three: engines
9
+ * in `music_io`, the transport brain in `music_lib` where it read the Zustand
10
+ * store, and the plan builders in `music_lib` too. Nothing owned playback;
11
+ * three packages owned a third of it each.
12
+ */
13
+ export {};
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@sudobility/music_player",
3
+ "version": "0.1.0",
4
+ "description": "Playback for ScoreSmith: transport, synth engines and offline rendering, for web and React Native",
5
+ "author": "Sudobility",
6
+ "license": "BUSL-1.1",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "react-native": {
11
+ "types": "./dist/rn/index.d.ts",
12
+ "import": "./dist/rn/index.js"
13
+ },
14
+ "default": {
15
+ "types": "./dist/web/index.d.ts",
16
+ "import": "./dist/web/index.js"
17
+ }
18
+ },
19
+ "./web": {
20
+ "types": "./dist/web/index.d.ts",
21
+ "import": "./dist/web/index.js"
22
+ },
23
+ "./rn": {
24
+ "types": "./dist/rn/index.d.ts",
25
+ "import": "./dist/rn/index.js"
26
+ },
27
+ "./mocks": {
28
+ "types": "./dist/mocks/index.d.ts",
29
+ "import": "./dist/mocks/index.js"
30
+ }
31
+ },
32
+ "files": [
33
+ "dist/**/*",
34
+ "CLAUDE.md"
35
+ ],
36
+ "keywords": [
37
+ "scoresmith",
38
+ "music",
39
+ "playback",
40
+ "soundfont",
41
+ "react-native"
42
+ ],
43
+ "scripts": {
44
+ "build": "tsc -p tsconfig.esm.json",
45
+ "clean": "rimraf dist",
46
+ "test": "vitest run",
47
+ "test:watch": "vitest",
48
+ "lint": "eslint src",
49
+ "format": "prettier --write src/**/*.ts",
50
+ "format:check": "prettier --check src/**/*.ts",
51
+ "typecheck": "tsc --noEmit",
52
+ "verify": "bun run format:check && bun run typecheck && bun run lint && bun run test && bun run build",
53
+ "prepublishOnly": "bun run clean && bun run verify"
54
+ },
55
+ "peerDependencies": {
56
+ "@sudobility/music_types": "^0.12.1",
57
+ "js-synthesizer": "^1.13.0",
58
+ "react-native-audio-api": ">=0.13.0"
59
+ },
60
+ "peerDependenciesMeta": {
61
+ "js-synthesizer": {
62
+ "optional": true
63
+ },
64
+ "react-native-audio-api": {
65
+ "optional": true
66
+ }
67
+ },
68
+ "devDependencies": {
69
+ "@eslint/js": "^10.0.1",
70
+ "@sudobility/music_types": "^0.12.1",
71
+ "@types/node": "^26.2.0",
72
+ "@typescript-eslint/eslint-plugin": "^8.65.0",
73
+ "@typescript-eslint/parser": "^8.65.0",
74
+ "eslint": "^9.38.0",
75
+ "globals": "^17.8.0",
76
+ "js-synthesizer": "^1.13.0",
77
+ "prettier": "^3.6.2",
78
+ "rimraf": "^6.1.3",
79
+ "typescript": "^5.9.3",
80
+ "typescript-eslint": "^8.65.0",
81
+ "vitest": "^4.1.10"
82
+ },
83
+ "publishConfig": {
84
+ "access": "public"
85
+ },
86
+ "repository": {
87
+ "type": "git",
88
+ "url": "https://github.com/johnqh/music_player.git"
89
+ },
90
+ "dependencies": {}
91
+ }