/ts-demo-env

run typescript demo

Primary LanguageTypeScript

This is an environment that runs ts demo

Install

$ npm install

Usage

$ npm run watch
// => watch and run ./dist/index.js

or

$ npm run watch test.js
// => watch and run ./dist/test.js

Suggestion

搭配sm-cli, 通过脚手架直接生成模板

如果需要结合html文件,建议使用parcel:

$ npx parcel index.html