1.0.8 • Published 8 months ago

tshot v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

tshot

Install

npm i -D tshot

Usage

Run a script: (for development)

tshot your-script.ts

This will also watch all the files imported by your-script.ts and re-run it on changes.

Note that this command will emit temporary files to ./build folder, it's recommended to add it to your .gitignore file.

Build a script: (for production)

tshot build your-scripts.ts

This command will emit bundled script to ./dist folder with a filename matching the original filename. i.e. here you will get ./dist/your-script.js.

你可以通过在项目根目录创建esbuild.json来覆盖esbuild的设置, 内容例子

{
    "outdir":"dist"
}

Externals

dependencies and peerDependencies are automatically excluded from the bundled scripts.

License

MIT © EGOIST

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago