0.0.9 • Published 3 months ago

@balsamic/tsn v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@balsamic/tsn

Simplified typescript node runner, for cjs and esm.

Automatically load .env files, and .ts files.

Usage:

tsn <file> [args]

Time the execution of a script

tsn --timed <file> [args]

Special commands:

# Check typescript files in the whole workspace

tsn tscheck

# Execute node test runner

tsn --test

# Executes an arbitrary executable with arguments and setting up node environment

tsn spawn <executable> [arguments]

# Run mocha test runner

tsn mocha [mocha arguments]

# Manages git subtrees

tsn git-subtree <arguments>

Git subtrees

Usage: tsn git-subtree <command> [args]

Configuration is read from package.json, under the key `git-subtree`
    "git-subtree": { <name> { localFolder: [relative path], "repository": "https://...", "branch": [branch name], "push_branch": [branch name] } ... }

Commands:
  init [subtree1] [subtree2] ...   Initialize subtrees
  pull [subtree1] [subtree2] ...   Pull subtrees
  commit <subtree> "<message>"     Commit subtree
  push <subtree> [branch]          Push subtree
  print-config                     Print configuration
  list                             List the configured subtrees
0.0.9

3 months ago

0.0.8

6 months ago

0.0.7

7 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

10 months ago

0.0.1

10 months ago