-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.js
More file actions
executable file
·45 lines (37 loc) · 951 Bytes
/
package.js
File metadata and controls
executable file
·45 lines (37 loc) · 951 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
34
35
36
37
38
39
40
41
42
43
44
45
Package.describe({
name: "shmck:angular2",
summary: "Angular 2 packaged for Meteor. Alpha-37.",
version: '2.0.7',
git: "https://github.com/ShMcK/meteor-angular2",
documentation: "README.md"
});
Package.registerBuildPlugin({
name : 'templates',
sources : [
'plugin/handler.js'
]
});
Package.onUse(function (api) {
api.versionsFrom("1.0.1");
api.use(["meteor"]);
api.addFiles([
'lib/traceur-runtime.min.js',
'lib/es6-module-loader.js', // 16.6
'lib/system.js',
"lib/angular2.dev.js"
// contains angular, reflect-metadata, rtts_assert, rx, zone.js, System.config
], ["client"]);
});
Package.onTest(function (api) {
api.use('sanjo:jasmine@0.13.6');
api.use(["meteor", "netanelgilad:angular2-typescript"]);
// specs
api.addFiles([
'tests/tests.spec.js'
], 'client');
// app to test
api.addFiles([
"tests/client/index.html",
"tests/client/app.ts"
], "client");
});