-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.js
108 lines (93 loc) · 2.18 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Package.describe({
summary: 'Modular Application Architecture for Meteor.',
name: 'space:base',
version: '4.1.4',
git: 'https://github.com/meteor-space/base.git',
documentation: 'README.md'
});
Npm.depends({
"getenv": "0.5.0",
"winston": "2.1.0",
"babel-plugin-transform-decorators-legacy": "1.3.4"
});
Package.onUse(function(api) {
api.versionsFrom('1.2.0.1');
api.use([
'coffeescript',
'check',
'underscore',
'ecmascript'
]);
api.use([
'ejson',
'ddp',
'random',
'mongo',
'tracker',
'templating',
'session',
'blaze',
'email',
'accounts-base',
'reactive-var'
], {weak: true});
api.addFiles([
'source/lib/underscore_deep_extend_mixin.js',
'source/namespace.coffee',
'source/helpers.coffee',
'source/configuration.js',
'source/object.coffee',
'source/logger.js',
'source/struct.coffee',
'source/error.js',
'source/injector.coffee',
'source/injector_annotations.coffee',
'source/module.coffee',
'source/application.coffee'
]);
// Test helpers
api.addFiles([
'source/testing/bdd-api.coffee'
]);
});
Package.onTest(function(api) {
api.use([
'meteor',
'coffeescript',
'check',
'ecmascript',
'space:base',
// weak-dependencies
'ddp',
'random',
'underscore',
'mongo',
'tracker',
'templating',
'ejson',
'accounts-base',
'email',
'session',
'reactive-var',
'practicalmeteor:[email protected]',
'space:[email protected]'
]);
api.addFiles([
// unit tests
'tests/unit/object.unit.coffee',
'tests/unit/module.unit.coffee',
'tests/unit/struct.unit.coffee',
'tests/unit/application.unit.coffee',
'tests/unit/injector.unit.coffee',
'tests/unit/injector_annotations.unit.js',
'tests/unit/helpers.unit.coffee',
'tests/unit/error.tests.js',
'tests/unit/logger.tests.js',
// integration tests
'tests/integration/application_with_modules.spec.js',
'tests/integration/standalone_application.integration.coffee',
'tests/integration/lifecycle_hooks.tests.js',
'tests/integration/requiring-modules.tests.js',
'tests/integration/module.regressions.js'
]);
});