-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.js
55 lines (48 loc) · 1.07 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
Package.describe({
name: 'barbatus:typescript-compiler',
version: '0.10.0',
summary: 'TypeScript Compiler for Meteor',
git: 'https://github.com/barbatus/typescript-compiler',
documentation: 'README.md'
});
Npm.depends({
'meteor-typescript': '0.9.0',
'async': '2.5.0',
'colors': '1.1.2',
});
Package.onUse(function(api) {
api.versionsFrom('1.4.1');
api.use([
], 'server');
api.addFiles([
'logger.js',
'file-utils.js',
'typescript-compiler.js',
'typescript.js',
'utils.js',
], 'server');
api.export([
'TypeScript',
'TypeScriptCompiler',
], 'server');
});
Package.onTest(function(api) {
api.use([
'tinytest',
'ecmascript',
'underscore',
'practicalmeteor:sinon',
'practicalmeteor:chai',
'practicalmeteor:mocha',
'meteortesting:mocha',
'dispatch:mocha-phantomjs',
]);
api.use('barbatus:typescript-compiler');
api.addFiles([
'tests/server/unit/input-file.js',
'tests/server/unit/compiler-tests_spec.js',
], 'server');
});