forked from barbatus/typescript-compiler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
43 lines (36 loc) · 1.18 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
Package.describe({
name: 'adornis:typescript-compiler',
version: '0.12.4',
summary: 'TypeScript Compiler for Meteor, prop to barbatus:typescript-compiler',
git: 'https://github.com/adornis/typescript-compiler',
documentation: 'README.md',
});
Npm.depends({
// 'meteor-typescript': '0.9.0', // is now in this directory because I'm lazy
async: '2.5.0',
colors: '1.1.2',
chalk: '2.4.1',
'random-js': '1.0.8',
'object-sizeof': '1.3.0',
underscore: '1.9.1',
});
Package.onUse(function(api) {
api.versionsFrom('1.4.1');
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('adornis:typescript-compiler');
api.addFiles(['tests/server/unit/input-file.js', 'tests/server/unit/compiler-tests_spec.js'], 'server');
});