-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.js
51 lines (42 loc) · 1.09 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
Package.describe({
name: 'herteby:denormalize',
version: '0.6.7',
// Brief, one-line summary of the package.
summary: 'Simple denormalization for Meteor',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/herteby/denormalize',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
})
const npmPackages = {
'lodash': '4.17.21',
};
Package.onUse(function (api) {
Npm.depends(npmPackages);
api.versionsFrom('1.12.1')
api.use([
'ecmascript',
'mongo',
'check',
'matb33:[email protected]'
])
api.mainModule('cache.js', 'server')
api.addFiles('cacheCount.js', 'server')
api.addFiles('cacheField.js', 'server')
})
Package.onTest(function (api) {
Npm.depends({
...npmPackages,
chai: "4.3.4"
});
api.use([
'herteby:denormalize',
'ecmascript',
'mongo',
'check',
'matb33:[email protected]'
])
api.use(["meteortesting:mocha"]);
api.addFiles('tests.js', 'server')
})