library.ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

TypeScript Library Template

Template for authoring TypeScript modules for the browser. This template includes:

  • TypeScript as authoring language
  • Mocha as testing framework
  • Karma for browser testing
  • Webpack for bundling your static library.

Usage

Clone and install the dependencies:

git clone https://github.com/endel/library-template.ts.git
cd library-template.ts
npm install

Start karma test-runner and watch for changes.

npm start

Run mocha in node environment.

npm test

Generate distribution files and typing definitions.

npm prepublish

Bundling your static library

npm run bundle

License

MIT

/library.ts/

    Package Sidebar

    Install

    npm i library.ts

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • endel