forked from ignacy130/yadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
95 lines (79 loc) · 2.58 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
Package.describe({
name: "thumptech:admin",
summary: "A complete admin dashboard solution",
version: "0.1.0",
git: "https://github.com/yogiben/meteor-admin"
});
Npm.depends({
'simpl-schema': '0.3.2'
});
Package.onUse(function(api){
api.mainModule('admin.js');
both = ['client','server']
api.versionsFrom('[email protected]');
api.use(
[//'iron:[email protected]',
'ostrio:flow-router-extra',
'underscore',
'reactive-var',
'check',
'aldeed:collection2',
'aldeed:autoform',
'aldeed:template-extension',
'alanning:[email protected]',
'raix:[email protected]',
'reywood:[email protected]',
'momentjs:[email protected]',
'aldeed:tabular',
//'lamhieu:[email protected]', //Unblock is implemented natively in later meteor 2
//'meteorhacks:[email protected]',
//Todo: replace with flow router
//'zimme:[email protected]',
//'mfactory:[email protected]',
'ecmascript'
],
both);
api.use(['less','session','jquery','templating'],'client')
api.use(['email'],'server')
api.addFiles([
'lib/client/css/AdminLTE.min.css',
'lib/client/css/skins/skin-black-light.min.css',
'lib/client/css/skins/skin-black.min.css',
'lib/client/css/skins/skin-blue-light.min.css',
'lib/client/css/skins/skin-blue.min.css',
'lib/client/css/skins/skin-green-light.min.css',
'lib/client/css/skins/skin-green.min.css',
'lib/client/css/skins/skin-purple-light.min.css',
'lib/client/css/skins/skin-purple.min.css',
'lib/client/css/skins/skin-red-light.min.css',
'lib/client/css/skins/skin-red.min.css',
'lib/client/css/skins/skin-yellow-light.min.css',
'lib/client/css/skins/skin-yellow.min.css'
], 'client');
api.addFiles([
'lib/both/AdminDashboard.js',
'lib/both/collections.js',
'lib/both/startup.js',
'lib/both/utils.js'
], both);
api.addFiles([
'lib/client/pages/admin_templates.html',
'lib/client/pages/admin_templates.js',
'lib/client/pages/admin_widgets.html',
'lib/client/pages/admin_layouts.js',
'lib/client/pages/admin_sidebar.html',
'lib/client/pages/admin_header.js',
'lib/client/css/admin-custom.less',
//'lib/client/js/admin_layout.js',
'lib/client/js/helpers.js',
'lib/client/js/templates.js',
'lib/client/js/router.js',
'lib/client/js/slim_scroll.js',
'lib/client/js/autoForm.js'
], 'client');
api.addFiles([
'lib/server/publish.js',
'lib/server/methods.js'
], 'server');
api.export('AdminDashboard',both)
});