Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 999 Bytes

readme.md

File metadata and controls

25 lines (16 loc) · 999 Bytes

@naturalcycles/cli

CLI utils to be installed globally via 'npm i -g'

npm install size code style: prettier

Install

npm i -g @naturalcycles/cli

CLI commands (globally available)

  • tsn: short alias for ts-node with additional parameters -T -r tsconfig-paths/register -r dotenv/config. Will use ./scripts/tsconfig.json (file will be auto-generated in not present).

Set TSN_ESBUILD env variable to enable experimental esbuild transpilation, using esbuild and esbuild-register instead of typescript and ts-node.

Packaging

  • engines.node: Latest Node.js LTS
  • main: dist/index.js: commonjs, es2020