New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tshot

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tshot

Like nodemon but very esbuild

latest
npmnpm
Version
1.0.8
Version published
Maintainers
0
Created
Source

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

FAQs

Package last updated on 07 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts