forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
37 lines (31 loc) · 1.11 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
35
36
37
// 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.3.1';
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/js/ionic.js',
'release/js/ionic-angular.js'
], where);
api.addAssets([
'release/fonts/ionicons.eot',
'release/fonts/ionicons.svg',
'release/fonts/ionicons.ttf',
'release/fonts/ionicons.woff'
], where)
});