0.0.11 • Published 8 years ago
test-richards v0.0.11
How to write a NPM module using TypeScript
Targeting Node.js (v6) and TypeScript
- see related article on Medium
Provide :
- packaging for TypeScript use
- packaging for Node.js (v6) use
- TypeScript testing with Jasmine
- Gulp automatisation
How to run
npm i
gulp
gulp testNotes
index.tsat root is mandatory fortscin order to make the module discoverabledist/index.jsis the entry point for node.js targeting.npmignoreallow to exposedist/anddefinitionsfolders without versionning it.