forked from steinitz-zz/Meteor-React-ES6-Component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
24 lines (21 loc) · 834 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
Package.describe({
name: 'steinitz:react-es6-component',
version: '0.1.3',
// Brief, one-line summary of the package.
summary: 'Allow the use of getMeteorData in ES6 React classes similar to React.createClass class',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use(['ecmascript', '[email protected]_1', 'tracker', 'steinitz:[email protected]']);
api.addFiles('react-es6-component.js');
api.export('React', ['client', 'server']);
});
Package.onTest(function(api) {
api.use(['ecmascript', 'tinytest', '[email protected]_1']);
api.use('steinitz:react-es6-component');
api.addFiles('react-es6-component-tests.js');
});