Skip to content
Branch: master
Find file History
Latest commit 2c325c4 Jan 4, 2020
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src lerna Oct 27, 2019
.gitignore lerna Oct 27, 2019
.mocharc.json lerna Oct 27, 2019
.npmignore lerna Oct 27, 2019
README.md lerna Oct 27, 2019
package-lock.json use latest mocha Jan 4, 2020
package.json use latest mocha Jan 4, 2020
tsconfig.json lerna Oct 27, 2019
tslint.json lerna Oct 27, 2019

README.md

Typescript application

Full documentation about it here

Tests here are kept next to their code (not in a separate dir). This was done to demonstrate an alternative way of housing tests.

Commands

  • npm run compile - compile the ES6 Typescript into the /lib directory
  • npm run lint - run the Typescript linter using the tslint.json config file.
  • npm test - run the tests using the local .mocharc.json config file. As the config includes the Typescript transpilation hook ts-node/register it does not require pre-compilation before running.
You can’t perform that action at this time.