-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.js
26 lines (23 loc) · 987 Bytes
/
package.js
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
Package.describe({
name: 'maxencecornet:audio-recorder',
version: '0.0.4',
// Brief, one-line summary of the package.
summary: 'Record audio input from the user microphone, export to .wav or ArrayBuffer',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/maxenceC/meteor-audio-recorder',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function (api) {
api.versionsFrom('1.2.1');
api.use(['ecmascript', 'check']);
api.addFiles(['lib/client/compatibility/recorder.js', 'lib/client/audio-recorder.js'], ['client']);
api.addAssets(['assets/recorderWorker.js'], ['client']);
api.export('AudioRecorder', 'client');
});
Package.onTest(function (api) {
api.use('ecmascript');
api.use('tinytest');
api.use('maxencecornet:audio-recorder');
});