forked from audiolabs/trackswitch.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 2.75 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 2.75 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "trackswitch",
"version": "2.0.0",
"description": "Multitrack Audio Player",
"keywords": [
"audio",
"player",
"multitrack",
"web-audio",
"music",
"waveform",
"sheet-music",
"synchronization",
"react"
],
"license": "MIT",
"type": "module",
"engines": {
"node": ">=18"
},
"author": "Nils Werner (nils.werner@audiolabs-erlangen.de)",
"contributors": [
"Manuel Peters (manuel.peters@audiolabs-erlangen.de)"
],
"homepage": "https://github.com/audiolabs/trackswitch.js",
"repository": {
"type": "git",
"url": "git+https://github.com/audiolabs/trackswitch.js.git"
},
"bugs": {
"url": "https://github.com/audiolabs/trackswitch.js/issues"
},
"publishConfig": {
"provenance": true
},
"files": [
"dist/",
"LICENSE",
"README.md",
"THIRD_PARTY_NOTICES.md"
],
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js"
},
"./element": {
"types": "./dist/types/element.d.ts",
"import": "./dist/esm/element.js"
},
"./react": {
"types": "./dist/types/react.d.ts",
"import": "./dist/esm/react.js"
},
"./vue": {
"types": "./dist/types/vue.d.ts",
"import": "./dist/esm/vue.js"
},
"./svelte": {
"types": "./dist/types/svelte.d.ts",
"import": "./dist/esm/svelte.js"
},
"./interactive": {
"types": "./dist/types/interactive.d.ts",
"import": "./dist/esm/interactive.js"
},
"./package.json": "./package.json"
},
"unpkg": "dist/js/trackswitch.js",
"jsdelivr": "dist/js/trackswitch.js",
"peerDependencies": {
"react": ">=18",
"vue": ">=3"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"vue": {
"optional": true
}
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run build:browser && npm run build:worker && npm run build:runtime-assets && npm run build:esm && npm run build:types",
"build:browser": "vite build --mode browser",
"build:worker": "vite build --mode worker",
"build:runtime-assets": "node scripts/sync-runtime-assets.mjs",
"build:esm": "vite build --mode esm",
"docs:assets": "node scripts/sync-docs-assets.mjs",
"docs:build": "npm run build && npm run docs:assets",
"build:types": "tsc --project tsconfig.build.json",
"dev": "vite",
"prebuild": "npm run clean",
"prepack": "npm run build",
"typecheck": "tsc --project tsconfig.json",
"typecheck:unused": "tsc --project tsconfig.json --noUnusedLocals --noUnusedParameters --pretty false"
},
"dependencies": {
"@tonejs/midi": "^2.0.28",
"d3": "^7.9.0",
"opensheetmusicdisplay": "^2.0.0",
"papaparse": "^5.5.3"
},
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@types/d3": "^7.4.3",
"rimraf": "^6.0.0",
"typescript": "^5.9.3",
"vite": "^8.0.10"
}
}