forked from barbatus/typescript
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.js
More file actions
33 lines (26 loc) · 807 Bytes
/
package.js
File metadata and controls
33 lines (26 loc) · 807 Bytes
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
Package.describe({
name: 'adornis:typescript',
version: '0.9.4',
summary: 'TypeScript for Meteor',
git: 'https://github.com/Adornis/typescript',
documentation: 'README.md',
});
Package.registerBuildPlugin({
name: 'typescript',
use: ['adornis:typescript-compiler'],
sources: ['plugin.js'],
npmDependencies: { typescript: '3.2.2' },
});
Package.onUse(function(api) {
api.versionsFrom('1.4.1');
api.use('isobuild:compiler-plugin@1.0.0');
api.use('adornis:typescript-compiler@0.12.4');
api.imply('modules@0.11.6');
api.imply('barbatus:typescript-runtime@1.1.0');
});
Package.onTest(function(api) {
api.use('tinytest@1.0.12');
api.use('adornis:typescript');
api.addFiles('tests/runtime-tests.ts', 'client');
api.addFiles('tests/runtime-react-tests.tsx', 'client');
});