hot-import

v0.1.30
Hot Module Replacement (HMR) for Node.js
hot replacement reload import dynamic

check-node-version

check-node-version --node ">= 7"

clean

shx rm -fr dist/*

demo

npm run demo:ts

demo:ts

ts-node examples/demo-ts

demo:js

ts-node examples/demo-js

dist

npm run clean && tsc

lint

tslint --project tsconfig.json && npm run clean && tsc --noEmit

test

npm run lint && npm run check-node-version && npm run test:unit

test:pack

bash -x scripts/npm-pack-testing.sh

test:unit

blue-tape -r ts-node/register "src/**/*.spec.ts" "tests/**/*.spec.ts"

Metadata

Downloads

Maintainers