0.0.0 • Published 4 years ago
@cweijan/tshot v0.0.0
💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
tshot
Install
npm i -D tshotUsage
Run a script: (for development)
tshot your-script.tsThis 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 ./temp folder, it's recommended to add it to your .gitignore file.
Build a script: (for production)
tshot build your-scripts.tsThis 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.
Externals
dependencies and peerDependencies are automatically excluded from the bundled scripts.
License
MIT © EGOIST
0.0.0
4 years ago