forked from aykutaktas/autocms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
84 lines (74 loc) · 2.52 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
/**
autoCms is working nice with autoForm and has a huge need of it
autoCms handles not only insert and update events but also can list and construct relations with other collections
in table and we are calling this extension as autoTable.
In conclusion, autoCms is the combination of autoForm and autoTable
@category cms
@authors günce ali bektas <info@guncebektas.com>, aykut aktas <aykut@aktas.me>
@link https://github.com/guncebektas/autocms
*/
Package.describe({
name: 'guncebektas:autocms',
version: '1.0.3',
// 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');
api.imply([
'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',
'aldeed:template-extension@4.0.0',
'aldeed:collection2@2.5.0',
'aldeed:autoform@5.7.1',
'aldeed:simple-schema@1.3.3',
'aldeed:delete-button@1.0.0',
'cfs:standard-packages@0.5.3',
'cfs:gridfs@=0.0.27',
'yogiben:autoform-file@0.3.0',
'mpowaga:autoform-summernote@0.4.2'
]);
// set dependencies
api.use('ecmascript');
api.use(['templating', 'jquery'], 'client');
api.use([
'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([
'underscorestring:underscore.string@3.2.2',
'aldeed:template-extension@4.0.0',
'aldeed:collection2@2.5.0',
'aldeed:autoform@5.7.1',
'aldeed:simple-schema@1.3.3',
'aldeed:delete-button@1.0.0',
'cfs:standard-packages@0.5.3',
'cfs:gridfs@=0.0.27',
'yogiben:autoform-file@0.3.0',
'mpowaga:autoform-summernote@0.4.2'
], ['client','server'], {weak: false, unordered: false});
//api.export('autoCms');
// add files
api.addFiles([
'templates/fileUploadSystem.html',
'templates/autoCms.html',
'methods.js',
'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');
});