2.0.1 • Published 9 years ago
generator-rise-typescript v2.0.1
Generator Rise TypeScript
Scaffold out a node module with TypeScript, mocha, chai, and npm scripts
A fork of generator-rise
Install
npm i -g generator-rise-typescript
☭ Features
- TypeScript :point_up:
- Tests with mocha and chai in TypeScript
- Travis CI and Coveralls
- Badges with
- Simple workflow.
Usage
You need Yeoman to run this command.
yo rise-typescript
→ create package.json
→ create README.md
→ create LICENSE
→ create CHANGELOG.md
→ create src/index.ts
→ create test/index.spec.ts
→ create .editorconfig
→ create .gitignore
→ create .travis.yml
→ create typings.json
→ create tsconfig.json
:beginner: Workflow
Add code to
src/index.ts
and tests totest/index.spec.ts
.Lint, build and test a project with
npm run build
.Build and watch changes in
src/
withnpm run watch
Run only tests with
npm test
.
Generate a TOC for the
CHANGELOG
withnpm run toc
Deploy to a remote origin with
npm run deploy
.Bump version and publish a package with
npm run major/minor/patch
License
Apache-2.0 © Will Soto