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
106 lines (106 loc) · 3.16 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.16 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
{
"name": "trackswitch",
"version": "2.0.0",
"description": "Multitrack Audio Player",
"keywords": [
"audio",
"player",
"multitrack",
"web-audio",
"music",
"waveform",
"sheet-music",
"alignment",
"react"
],
"license": "MIT",
"type": "module",
"engines": {
"node": ">=18"
},
"sideEffects": [
"*.css",
"**/*.css"
],
"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"
],
"style": "dist/css/trackswitch.min.css",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js"
},
"./react": {
"types": "./dist/types/react.d.ts",
"import": "./dist/esm/react.js"
},
"./interactive": {
"types": "./dist/types/interactive.d.ts",
"import": "./dist/esm/interactive.js"
},
"./style.css": "./dist/css/trackswitch.min.css",
"./package.json": "./package.json"
},
"unpkg": "dist/js/trackswitch.min.js",
"jsdelivr": "dist/js/trackswitch.min.js",
"peerDependencies": {
"react": ">=18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run build:css && npm run build:js && npm run build:types && npm run build:docs-assets",
"build:css": "esbuild css/trackswitch.css --bundle --minify --loader:.woff2=file --asset-names=assets/[name]-[hash] --outfile=dist/css/trackswitch.min.css",
"build:css:watch": "esbuild css/trackswitch.css --bundle --loader:.woff2=file --asset-names=assets/[name]-[hash] --outfile=dist/css/trackswitch.min.css --watch=forever",
"build:docs-assets": "node scripts/sync-docs-assets.mjs",
"build:js": "node scripts/build-js.mjs",
"build:js:watch": "node scripts/build-js.mjs --watch",
"build:types": "tsc --project tsconfig.build.json",
"dev": "npm run build && sh -c 'npm run dev:watch & npm run dev:serve & wait'",
"dev:serve": "live-server --host=0.0.0.0 --port=8080 --watch=dist,examples,css,src",
"dev:watch": "sh -c 'npm run build:css:watch & npm run build:js:watch & wait'",
"minify:js": "node scripts/build-js.mjs --minify-only",
"prebuild": "npm run clean",
"prepack": "npm run build",
"typecheck": "tsc --project tsconfig.json",
"typecheck:unused": "tsc --project tsconfig.json --noUnusedLocals --noUnusedParameters --pretty false"
},
"dependencies": {
"@spotify/basic-pitch": "^1.0.1",
"d3": "^7.9.0",
"opensheetmusicdisplay": "^1.9.7",
"papaparse": "^5.5.3"
},
"devDependencies": {
"@types/d3": "^7.4.3",
"esbuild": "^0.27.3",
"live-server": "^1.2.2",
"rimraf": "^6.0.0",
"typescript": "^5.9.3"
}
}