forked from angular-tools/ng-jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
25 lines (21 loc) · 808 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
// package metadata file for Meteor.js
var packageName = 'angular-tools:ng-jsoneditor';
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
var version = '0.0.1';
var summary = 'Angular version of the insanely cool jsoneditor';
var gitLink = 'https://github.com/angular-tools/ng-jsoneditor';
var documentationFile = 'README.md';
// Meta-data
Package.describe({
name: packageName,
version: version,
summary: summary,
git: gitLink,
documentation: documentationFile
});
Package.onUse(function(api) {
api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']); // Meteor versions
api.use('angular:angular@1.2.0', where); // Dependencies
api.use('dataflows:jsoneditor@0.0.1', where); // Dependencies
api.addFiles('ng-jsoneditor.js', where); // Files in use
});