test-richards
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

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 for tsc in order to make the module discoverable
  • dist/index.js is the entry point for node.js targeting
  • .npmignore allow to expose dist/ and definitions folders without versionning it.

/test-richards/

    Package Sidebar

    Install

    npm i test-richards

    Weekly Downloads

    4

    Version

    0.0.11

    License

    MIT

    Last publish

    Collaborators

    • enngage