git clone https://github.com/yunabe/tslab.git
- Read internal.md
./bin/tslab install --binary=$(pwd)/bin/tslab [--python=python3]
npm run build [-- --watch]
To build tslab incrementally, pass --watch
to npm run build
.
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]
npm run jest -- converter.spec.ts --watch
- Run tests in
converter.spec.ts
in watch mode.
- Run tests in
npm run jest -- -t nameoftest --watch
- Run specific tests in watch mode.
- Increment
"version"
inpackage.json
. npm test && npm publish
.- Set git tag:
git tag -a v1.0.21 -m 'Release version 1.0.21'
git push --tags
- https://github.com/yunabe/TypeScriptForTslab - A branch of TypeScript used in tslab.
- https://github.com/yunabe/tslab-examples - Example notebooks of tslab.