-
-
Notifications
You must be signed in to change notification settings - Fork 118
/
Copy pathpackage.json
169 lines (169 loc) · 5.54 KB
/
package.json
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "webmidi",
"version": "3.1.12",
"description": "WEBMIDI.js makes it easy to talk to MIDI instruments from a browser or from Node.js. It simplifies the control of external or virtual MIDI instruments with functions such as playNote(), sendPitchBend(), sendControlChange(), etc. It also allows reacting to incoming MIDI messages by adding listeners for user-friendly events such as 'noteon', 'pitchbend', 'songposition', etc.",
"main": "./dist/cjs/webmidi.cjs.min.js",
"types": "./dist/cjs/webmidi.cjs.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/cjs/webmidi.cjs.d.ts",
"default": "./dist/cjs/webmidi.cjs.min.js"
},
"import": {
"types": "./dist/esm/webmidi.esm.d.ts",
"default": "./dist/esm/webmidi.esm.js"
}
}
},
"author": {
"name": "Jean-Philippe Côté",
"email": "[email protected]",
"url": "https://github.com/djipco/"
},
"repository": {
"type": "git",
"url": "https://github.com/djipco/webmidi.git"
},
"bugs": {
"url": "https://github.com/djipco/webmidi/issues"
},
"files": [
"/dist"
],
"keywords": [
"midi",
"message",
"web",
"browser",
"front-end",
"web midi api",
"music",
"djipco",
"music",
"protocol",
"communication",
"channel",
"node",
"instrument",
"device",
"note"
],
"homepage": "https://webmidijs.org",
"license": "Apache-2.0",
"webmidi": {
"name": "WEBMIDI.js",
"tagline": "A JavaScript library to kickstart your MIDI projects"
},
"engines": {
"node": ">=8.5"
},
"scripts": {
"library:build-all": "npm run lint && npm run library:build-cjs && npm run library:build-esm && npm run library:build-iife",
"library:build-cjs": "node scripts/library/build.js -t cjs && npm run typescript-declaration:generate -- -t cjs",
"library:build-esm": "node scripts/library/build.js -t esm && npm run typescript-declaration:generate -- -t esm",
"library:build-iife": "node scripts/library/build.js -t iife",
"test-coverage:report-as-text": "nyc --reporter=text mocha",
"test-coverage:report-as-html": "nyc --reporter=html mocha",
"website:build": "npm run --prefix website build",
"website:serve": "npm run --prefix website serve",
"website:dev-server": "npm run --prefix website start",
"website:generate+push-to-gh-pages": "npm run jsdoc:generate-markdown+push && npm run --prefix website build && node scripts/website/deploy.js",
"jsdoc:generate-html+push": "node scripts/api-documentation/generate-html.js",
"jsdoc:generate-markdown+push": "node scripts/api-documentation/generate-markdown.js",
"typescript-declaration:generate": "node scripts/typescript-declarations/generate.js",
"lint": "eslint ./src/*.js",
"release": "dotenv release-it --",
"release:alpha": "npm run release -- prepatch --preRelease=alpha --npm.tag=next --github.preRelease",
"sponsors:update": "node scripts/sponsors/retrieve-sponsors.js",
"test:all": "mocha",
"test:Input": "mocha test/Input.test.js",
"test:InputChannel": "mocha test/InputChannel.test.js",
"test:Note": "mocha test/Note.test.js",
"test:Message": "mocha test/Message.test.js",
"test:Enumerations": "mocha test/Enumerations.test.js",
"test:Forwarder": "mocha test/Forwarder.test.js",
"test:Output": "mocha test/Output.test.js",
"test:OutputChannel": "mocha test/OutputChannel.test.js",
"test:Utilities": "mocha test/Utilities.test.js",
"test:WebMidi": "mocha test/WebMidi.test.js"
},
"dependencies": {
"djipevents": "^2.0.7"
},
"devDependencies": {
"@alexbinary/rimraf": "^1.0.2",
"@babel/cli": "^7.13.0",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.0",
"@julusian/midi": "^3.1.0",
"@octokit/graphql": "^4.8.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-replace": "^5.0.2",
"array-back": "^6.2.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.3.3",
"docusaurus": "^1.14.7",
"dotenv-cli": "^5.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-react": "^7.26.1",
"foodoc": "0.0.9",
"fs-extra": "^10.0.0",
"ftp-deploy": "^2.3.7",
"gh-pages": "^5.0.0",
"handlebars": "^4.7.7",
"jsdoc": "^3.6.7",
"jsdoc-to-markdown": "^7.1.0",
"markdown-it": "^12.3.2",
"marked": "^4.0.10",
"minimist": "^1.2.5",
"mocha": "^10.0.0",
"moment": "^2.29.4",
"nyc": "^15.0.1",
"object-get": "^2.1.1",
"prepend-file": "^2.0.0",
"reduce-flatten": "^3.0.1",
"release-it": "^15.10.1",
"replace-in-file": "^6.3.2",
"rollup": "^3.29.5",
"rollup-plugin-license": "^2.3.0",
"rollup-plugin-strip-code": "^0.2.7",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-version-injector": "^1.3.3",
"semver": "^7.3.5",
"simple-git": "^3.16.0",
"sinon": "^9.0.1",
"sinon-browser-only": "^1.12.1",
"system-commands": "^1.1.7",
"test-value": "^3.0.0",
"util": "^0.12.4"
},
"release-it": {
"git": {
"commitMessage": "Release v${version}"
},
"github": {
"release": true,
"draft": false,
"releaseName": "Release v${version}",
"assets": [
"webmidi-${version}.tgz"
]
},
"hooks": {
"after:bump": [
"npm run library:build-all"
],
"before:git:release": [
"npm pack"
],
"after:release": "rimraf webmidi-${version}.tgz"
}
},
"optionalDependencies": {
"jzz": "^1.8.5"
}
}