Skip to content
Starter Project for TypeScript Modules
JavaScript TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a starter project for those interested in creating some module that they have intentions on publishing. Created with TypeScript, Babel 7, and Webpack


yarn start

Starts a local server for developing purpose. Does 3 things in parallel:

  1. Runs tsc in watch mode, which is responsible for only creating the TypeScript definitions (d.ts) files.
  2. Runs babel in watch mode, responsible for transpiling the TypeScript files into JavaScript
  3. Runs webpack in watch mode, which compiles all the transpiled JavaScript files into one root index.js

yarn build

Runs all the same 3 commands from yarn start but not in watch mode.

When this command finishes, you'll have transpiled files located in the lib directory, along with index.js and index.d.ts files in the root of the project.

yarn test

Runs the Jest test suite on any files ending in test.{ts|js|tsx|jsx} or inside a __test__ directory

You can’t perform that action at this time.