-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
78 lines (73 loc) · 2.9 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Package.describe({
name: 'planettraining:angular-meteor-platform',
version: '0.0.3',
// Brief, one-line summary of the package.
summary: '',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/planet-training/angular-meteor-platform.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md',
summary : "Similar to the meteor-platform package but without blaze, templating, spacebars and jQuery"
});
Package.onUse(function(api) {
// The "imply" here means that if your app uses "meteor-platform", it is
// treated as if it also directly included all of these packages (and it gets
// their exports, plugins, etc).
//
// If you want, you can "meteor remove meteor-platform" and add some of
// these back in individually. We haven't tested every subset, though :)
api.imply([
// The normal "every package uses 'meteor'" rule only applies to packages
// built from a package source directory, so we make sure apps get it too.
// Meteor.isServer! The CSS extension handler! And so much more!
// A standard Meteor app is a web app. (Without this, there will be no
// 'main' function unless you define one yourself.)
// It's Log! It's better than bad, it's good!
// Tracker.autorun and friends. What's Meteor without reactivity?
'[email protected]', // XXX COMPAT WITH PACKAGES BUILT FOR 0.9.0.
// The easiest way to get a little reactivity into your app.
// DDP: Meteor's client/server protocol.
'[email protected]', // XXX COMPAT WITH PACKAGES BUILT FOR 0.9.0.
// You want to keep your data somewhere? How about MongoDB?
// Easy type assertions? check.
// _.isUseful(true)
// Life isn't always predictable.
// People like being able to clone objects.
// I really don't know anything funny I could write about static files
// rock'n'roll
]);
// These are useful too! But you don't have to see their exports
// unless you want to.
api.use([
// We can reload the client without messing up methods in flight.
// And update automatically when new client code is available!
], ['client', 'server']);
// More mobile specific implies
api.imply([
// Remove the 300ms click delay on mobile
// Good defaults for the mobile status bar
], 'web.cordova');
api.imply([
// Launch screen configuration. Currently only on mobile but we include the
// no-op browser version anyway.
], 'web');
});