Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.09 KB

developing.md

File metadata and controls

52 lines (34 loc) · 1.09 KB

Developing tslab

Repository

git clone https://github.com/yunabe/tslab.git

How to get started

Registering tslab to Jupyter

./bin/tslab install --binary=$(pwd)/bin/tslab [--python=python3]

Building

npm run build [-- --watch]

To build tslab incrementally, pass --watch to npm run build.

Testing

Before you run npm run jest, run npm run build one time because some tests depend on files in dist directory.

npm run jest [-- --watch]

Frequently used commands

  • npm run jest -- converter.spec.ts --watch
    • Run tests in converter.spec.ts in watch mode.
  • npm run jest -- -t nameoftest --watch
    • Run specific tests in watch mode.

Release

  • Increment "version" in package.json.
  • npm test && npm publish.
  • Set git tag: git tag -a v1.0.21 -m 'Release version 1.0.21'
  • git push --tags

Related repositories