2.0.1 • Published 9 years ago

generator-rise-typescript v2.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
9 years ago

Generator Rise TypeScript

Scaffold out a node module with TypeScript, mocha, chai, and npm scripts

A fork of generator-rise

NPM version Build Status Coveralls Status Dependency Status Downloads

Install

npm i -g generator-rise-typescript

☭ Features

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 to test/index.spec.ts.

  • Lint, build and test a project with npm run build.

  • Build and watch changes in src/ with npm run watch

  • Run only tests with npm test.

  • Generate a TOC for the CHANGELOG with npm 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