forked from nmccready/angular-simple-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
26 lines (21 loc) · 799 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 metadata file for Meteor.js
// console.log(global);
// https://atmospherejs.com/nmccready/angular-simple-logger
var packageName = 'nmccready:angular-simple-logger';
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
var version = Npm.require(process.env.PWD + '/package.json').version;
console.log("angular-simple-logger version to publish: " + version);
Package.describe({
name: packageName,
version: version,
summary: 'angular-simple-logger (official)',
git: '[email protected]:nmccready/angular-simple-logger.git',
documentation: null
});
Package.onUse(function(api) {
api.versionsFrom(['[email protected]', '[email protected]']);
api.use([
'angular:[email protected]',
], where);
api.addFiles('dist/angular-simple-logger.js', where);
});