1.0.2 • Published 4 years ago

@shqld/ts-node v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

ts-node with Babel.

Let's use babel-node for TypeScript as easy as ts-node.

NOTE: this is just a small wrapper for babel-node and only resolves verbose arguments passed to babel-node. See the core /ts-node.sh.

Install

npm i -D @shqld/ts-node
yarn add -D @shqld/ts-node

Usage

{
  "scripts": {
    "do-task": "ts-node tasks/some-task.ts"
  },
  "devDepedencies": {
    "@babel/core": "7.x",
    "@babel/preset-typescript": "7.x",
    "@shqld/ts-node": "1.x"
  }
}
npx do-task
yarn do-task