-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.js
executable file
·30 lines (23 loc) · 1.21 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
Package.describe({
name: 'practicalmeteor:wkwebview',
version: '0.1.2',
summary: 'Use the significantly better and faster WKWebView in mobile apps on iOS 8+.',
git: 'https://github.com/practicalmeteor/meteor-wkwebview',
documentation: 'README.md'
});
Cordova.depends({
// the cordova plugin built by Meteor Core team that "emulates a server" on
// the mobile device. Serving the files and checking for the HCP updates.
//'com.meteor.cordova-update': 'https://github.com/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036',
'com.telerik.plugins.wkwebview': 'https://github.com/practicalmeteor/WKWebView/tarball/4a1d577dc790cd8e2156c389a73506d22deff98c'
});
//meteor add cordova:com.meteor.cordova-update@https://github.com/practicalmeteor/com.meteor.cordova-update/tarball/a7e98f27a26b727288da81dcfd8047eccb5f6036
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
api.use(['coffeescript', 'practicalmeteor:[email protected]_1']);
api.addFiles('wkwebview.coffee');
});
Package.onTest(function(api) {
api.use(['coffeescript', 'practicalmeteor:[email protected]_1', 'tinytest', 'practicalmeteor:wkwebview']);
api.addFiles('wkwebview-tests.coffee', 'client');
});