-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.js
49 lines (42 loc) · 1.32 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
Package.describe({
name: 'guncebektas:autocms',
version: '0.0.9',
// Brief, one-line summary of the package.
summary: 'AutoCms is a simple solution to manage contents',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/guncebektas/autocms',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
// set dependencies
api.use('ecmascript');
api.use(['templating', 'jquery'], 'client');
api.use([
'underscorestring:underscore.string@3.2.2',
'kadira:flow-router@2.7.0',
'kadira:blaze-layout@2.2.0',
'arillo:flow-router-helpers@0.4.6'
], 'client', {weak: false, unordered: false});
api.use([
'aldeed:collection2@2.5.0',
'aldeed:autoform@5.7.1',
'aldeed:simple-schema@1.3.3',
'aldeed:delete-button@1.0.0'
], ['client','server'], {weak: false, unordered: false});
// add files
api.addFiles([
'template.html',
'helpers.js',
'events.js'
], 'client');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use(['templating', 'jquery'], 'client');
api.use('tinytest');
// add files
api.addFiles('tests/client/test.js', 'client');
});