0.0.28 • Published 3 years ago
@balsamic/esrun v0.0.28
@balsamic/esrun
Install:
npm --save-dev @balsamic/esrun
command line interface for esrun
Transpiles in memory and runs .ts, .tsx and es6 modules using esbuild and native es6 modules
esrun <file or glob pattern to run> [arguments]
--version : Prints esrun and esbuild versions
--help : This help screen
--time : Measure the process execution time and prints it.
--require=<glob> : Adds a file or a glob pattern to require.
--require=!<glob> : Exclude a set of patterns from require.
--mocha : Runs mocha tests. All arguments after this are passed to mocha.
--no-dotenv : Does not load .env file
command line interface for esrun --build
Compiles a .ts file into .mjs, .cjs and .d.ts. By default it compiles only .cjs and .mjs for each .ts file. To ignore a pattern or a file, prepend ! to the pattern.
esrun --build [directories, files or globs pattern to build]
--version : Prints esrun and esbuild versions
--help : This help screen
--no-cjs : Does not generate cjs files
--no-mjs : Does not generate mjs files
--baner-mjs=<banner> : Adds a banner to each compiled mjs file
--baner-cjs=<banner> : Adds a banner to each compiled cjs file
--dts : Generates also .d.ts files (very slow).
--workspaces : Looks for .ts files in project workspaces in package.json.
--clean : Delete all compiled files (ignores all other options)
License
MIT License
Copyright (c) 2021 Salvatore Previti
0.0.28
3 years ago
0.0.27
3 years ago
0.0.25
3 years ago
0.0.26
3 years ago
0.0.24
3 years ago
0.0.21
3 years ago
0.0.22
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.10
3 years ago
0.0.11
3 years ago
0.0.12
3 years ago
0.0.13
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago