forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
34 lines (29 loc) · 1.08 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
// package metadata file for Meteor.js
var packageName = 'driftyco:ionic'; // https://atmospherejs.com/driftyco/ionic
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
var version = '1.1.0';
Package.describe({
name: packageName,
version: version,
summary: 'Ionic Framework official Meteor package',
git: 'git@github.com:driftyco/ionic.git'
});
Package.onUse(function(api) {
api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']);
api.use('angular:angular@1.4.3', where);
api.use('angular:angular-animate@1.4.3', where);
api.use('angular:angular-sanitize@1.4.3', where);
api.use('angularui:angular-ui-router@0.2.13_3', where);
// In case the Meteor project has the `fastclick` package,
// Load it first and cancel it (to use Ionic's one)
api.use('urigo:cancel-fastclick@0.0.2', where);
api.addFiles([
'release/css/ionic.css',
'release/fonts/ionicons.eot',
'release/fonts/ionicons.svg',
'release/fonts/ionicons.ttf',
'release/fonts/ionicons.woff',
'release/js/ionic.js',
'release/js/ionic-angular.js'
], where);
});