bleuf1sh / node-typescript-jest-cf-starter

Starter skeleton for Node using typescript and Cloud Foundry and using Jest for tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Init

To install starter dependencies and get started

./initStarter.sh

afterwards you'll have everything setup with the latest goodies :)

Run options (after running ./initStarter.sh)

To run tests

npm test

To run locally

npm start

To dev locally (watching mode)

npm run dev

Transpile TS files into JS files saved to the distJs folder

npm run makeJs

Cloud Foundry

To login to PCF One

./pcfOneLogin.sh email@example.com

To push to PCF and inject git commit and cf push timestamp into the env vars

./pcfPush.sh

Thanks Dmitry for teaching me about Jest and helping me transition this from Jasmine to Jest.

About

Starter skeleton for Node using typescript and Cloud Foundry and using Jest for tests

License:MIT License


Languages

Language:TypeScript 82.0%Language:Shell 15.7%Language:JavaScript 2.3%