-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.js
More file actions
49 lines (40 loc) · 1.02 KB
/
package.js
File metadata and controls
49 lines (40 loc) · 1.02 KB
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: "anti:modules",
version: "0.2.0",
summary: "A lightweight module manager for Meteor",
git: "https://github.com/anticoders/meteor-modules.git",
});
Package._transitional_registerBuildPlugin({
name: 'compileImpactModules',
use: [ 'spacebars-compiler', 'underscore' ],
sources: [
'utils.js',
'build_plugin/html_scanner.js', // this is copy/pasted from meteor
'build_plugin/plugin.js',
]
});
// TODO: add wek dependency to iron:router
Npm.depends({
'source-map': '0.1.40'
});
Package.on_use(function (api) {
api.versionsFrom('1.0');
api.use(['deps', 'underscore', 'blaze', 'webapp'], ['client', 'server']);
api.use('amd:manager@0.0.5', ['client', 'server']);
api.add_files([
'utils.js',
'require.js',
'moduleFactory.js',
'manager.js',
'moduleTool.js',
'index.js',
// PLUGINS
'plugins/instance.js',
'plugins/ready.js',
'plugins/template.js',
]);
api.add_files([
'fileServer.js'
], 'server');
api.export('Module');
});