angular-sugar
v0.0.2
Published
Angular 2+ Utils
Downloads
3
Readme
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 test
Notes
index.ts
at root is mandatory fortsc
in order to make the module discoverabledist/index.js
is the entry point for node.js targeting.npmignore
allow to exposedist/
anddefinitions
folders without versionning it.