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: '[email protected]:driftyco/ionic.git'
});
Package.onUse(function(api) {
api.versionsFrom(['[email protected]', '[email protected]']);
api.use('angular:[email protected]', where);
api.use('angular:[email protected]', where);
api.use('angular:[email protected]', where);
api.use('angularui:[email protected]_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:[email protected]', 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);
});