Skip to content

Commit b8a58c6

Browse files
committed
feat(tsfmt): remove typescript from dependencies and add to peerDependencies refs #30
1 parent bb9cd81 commit b8a58c6

File tree

3 files changed

+97
-117
lines changed

3 files changed

+97
-117
lines changed

lib/cli.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
require("es6-promise").polyfill();
2+
try {
3+
require("typescript");
4+
} catch (e) {
5+
console.error("typescript is required. please try 'npm install -g typescript'\n");
6+
}
27

38
import * as fs from "fs";
49
import * as commandpost from "commandpost";

0 commit comments

Comments
 (0)