typed
CLI tool for typescript tasks & migrations
Installation
Usage
$ typed --list
Subcommands:
bootstrap π¨ Bootstrap your environment for TypeScript fun
clean π¨ Cleanup up files
errors π Create an inventory of the typescript errors at the current directory
inject π¨ Check for and Inject typescript configuration files.
migrate π¨ Run custom ts-migrate operation
Brew install
Add Lob's internal Homebrew tap.
brew tap lob/internal
Install with brew
brew update
brew install lob-typed
Install from git
Note: may need to use pip3
in-place of pip
pip install -e git+https://github.com/lob/typed#egg=typed
Local/Dev install
From the project root
pip install .
For dev install
pip install -e .
Development
Install the development dependencies with pipenv
- Install
pipenv
brew install pipenv
- Create a virtual environment and dependencies
pipenv sync --dev
- Activate the virtual environment
pipenv shell
- Runs tests to verify
pytest -v
- Install the pre-commit hooks
pre-commit install