jeibo_workflow
v0.3.5
Published
Fast, and lightweight TypeScript boilerplate that export a single file. Tests in Mocha, Chai & Sinon. TSLint for better code quality.
Downloads
14
Maintainers
Readme
Jeibo workflow
Fast, and lightweight TypeScript 2.0 boilerplate that export a single file. Tests in Mocha, Chai & Sinon. TSLint for better code quality.
Features
- [x] Statically typed build system for working with Typescript 2.0 Pre
- [x] Intelligent code editing with VSCode
- [x] Allow dead code elimination
- [x] Easy debugging
- [x] Rollup for bundling
- [x] Bublé as the ES2015 compiler
- [x] Sinon for test doubles
- [x] Mocha & Chai de facto standard
Workflow
build
- transpile TypeScript down to ES5 and builds a bundle both for development and productionbuild:dev
- transpile TypeScript down to ES5 and builds a bundle for developmentbuild:prod
- transpile TypeScript down to ES5 and builds a bundle for productioncoverage
- shows the coverage reportcleanup
- remove the dist, coverage and build folderstest
- run all unit testslint
- validates all source and test filesrelease
- push to Github and release a new version to NPMwatch:tests
- run all unit tests and watch files for changeswatch:build
- watch your TypeScript files and trigger recompilation on changesupdate:dependencies
- update npm packages
Shell scripting
All commands can be run with sh
. The script files are located inside the ./scripts
folder, and shared between
the CI
and the NPM script commands
.
Continuous integration (CI)
Both Travis
and Circle
are supported.
Coverage reports
The coverage reports are generated with Istanbul
, and delivered to coveralls.io
.
Istanbul generate a 100% correct coverage report. See the source and test files and do a comparison.