Skip to content

Commit

Permalink
feat(tsfmt): remove es6-promise devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame committed Feb 27, 2017
1 parent a180905 commit 03ce823
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
node_js:
- 4
- 6
sudo: false

notifications:
Expand Down
7 changes: 0 additions & 7 deletions lib/cli.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/* tslint:disable:no-empty */
try {
// cackward compatibility for node v0.12
require("es6-promise").polyfill();
} catch (e) {
}
/* tslint:enable:no-empty */
try {
require("typescript");
} catch (e) {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@types/mocha": "^2.2.33",
"@types/node": "^7.0.5",
"@types/power-assert": "^1.4.29",
"es6-promise": "^4.0.5",
"espower-loader": "^1.2.0",
"grunt": "^1.0.1",
"grunt-contrib-clean": "^1.0.0",
Expand Down
2 changes: 0 additions & 2 deletions test/indexSpec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require("es6-promise").polyfill();

import * as assert from "power-assert";

import fs = require("fs");
Expand Down

0 comments on commit 03ce823

Please sign in to comment.