-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
36 lines (34 loc) · 1.06 KB
/
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
27
28
29
30
31
32
33
34
35
36
Package.describe({
name: 'huaming:flux-store',
version: '0.0.9',
// Brief, one-line summary of the package.
summary: 'This is a Simple Store for meteor inspired by Facebook Flux, by using EventEmitter',
// URL to the Git repository containing the source code for this package.
git: '[email protected]:raohuaming/meteor-flux-store.git',
// 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.1.0.2');
api.use([
'raix:[email protected]',
'underscore',
'check',
'reactive-dict'
], 'client');
api.export(['FluxStore', 'FluxDispatcher'], 'client');
api.addFiles('flux-store.js', 'client');
});
Package.onTest(function(api) {
api.use([
'sanjo:[email protected]',
'huaming:flux-store',
'raix:eventemitter'
]);
api.use('huaming:flux-store');
api.addFiles([
'tests/client/unit/flux-store-spec.js',
'tests/client/unit/flux-dispatcher-spec.js'
], 'client');
});