-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(meteor): add meteor support Closes #3133
- Loading branch information
1 parent
500cf94
commit af1bfef
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,7 @@ dist | |
|
||
.idea | ||
|
||
.versions | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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); | ||
}); |
af1bfef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add tests meta