From 52e4abb03e9002667e62662ec179160dab60081a Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Sat, 26 Mar 2016 20:13:50 -0700 Subject: [PATCH] Remove is-callable Just use typeof ... === "function" is good. --- README.md | 1 - generators/app/index.js | 1 - generators/app/templates/template/package.json | 1 - 3 files changed, 3 deletions(-) diff --git a/README.md b/README.md index 18f2920..f548fc7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,6 @@ * [x] Add source as submodule * [ ] Install supporting utilities and settings * [x] [`tslint.json`](https://github.com/typings/tslint-config-typings) for typings - * [x] [`is-callable`](https://www.npmjs.com/package/is-callable) * [x] Default test harness: [`blue-tape`](https://www.npmjs.com/package/blue-tape) * [ ] Custom test harness * [ ] Mocha diff --git a/generators/app/index.js b/generators/app/index.js index 37c776b..a85b6ee 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -167,7 +167,6 @@ module.exports = yeoman.Base.extend({ this.fs.write('test/test.ts', [ 'import test = require(\'blue-tape\');', - 'import isCallable = require(\'is-callable\');', '', this.isAmbient ? '' : `import ${this.sourcePackageName} = require('${this.sourcePackageName}');`, '' diff --git a/generators/app/templates/template/package.json b/generators/app/templates/template/package.json index 4eef755..a3c1e28 100644 --- a/generators/app/templates/template/package.json +++ b/generators/app/templates/template/package.json @@ -14,7 +14,6 @@ }, "devDependencies": { "blue-tape": "^0.2.0", - "is-callable": "1.1.3", "onchange": "^2.2.0", "ts-node": "^0.7.0", "tslint": "git+https://github.com/unional/tslint.git",