-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
27 lines (24 loc) · 783 Bytes
/
package.js
File metadata and controls
27 lines (24 loc) · 783 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
const COMPILER_VERSION = "0.1.6";
const TYPESCRIPT_VERSION = "3.9.7";
const MY_VERSION = COMPILER_VERSION; // Keep in sync
Package.describe({
name: "refapp:meteor-typescript",
version: MY_VERSION,
summary: "A Typescript compiler plugin for Meteor",
git: "https://github.com/ref-app/meteor-typescript",
documentation: "README.md",
});
Package.registerBuildPlugin({
name: "meteor-typescript",
use: ["refapp:meteor-typescript-compiler@" + COMPILER_VERSION],
sources: ["meteor-typescript-plugin.js"],
npmDependencies: {
typescript: TYPESCRIPT_VERSION,
},
});
Package.onUse(function (api) {
api.use("isobuild:compiler-plugin@1.0.0");
api.versionsFrom("1.10");
api.use("ecmascript");
api.use("refapp:meteor-typescript-compiler@" + COMPILER_VERSION);
});