-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
27 lines (25 loc) · 839 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
27
Package.describe({
name: 'huaming:jiathis-share',
version: '0.0.3',
// Brief, one-line summary of the package.
summary: 'This is a plugin for adding jiathis share buttons to meteor app',
// URL to the Git repository containing the source code for this package.
git: 'https://www.github.com/raohuaming/meteor-jiathis',
// 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.0.4.2');
api.use(['templating', 'underscore']);
api.addFiles(
[
'jiathis-share.html',
'jiathis-share.js'
], 'client');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('huaming:jiathis-share');
api.addFiles('jiathis-share-tests.js');
});