stefnotch / npm-typescript-template

A little template repository for NPM packages that use Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm-typescript-template

A little template repository for NPM packages that use Typescript.

Use the template, make sure to fill out the package.json and get going!

Scripts

  • npm run build
  • npm run release

FAQ

{
    "compilerOptions": {
        /* This tells Typescript that we're working with the new importing mechanisms */
        "module": "nodenext", 
    }
}

Make sure to read the documentation for what that means, among other things all the imports in your code might need a file extension.

About

A little template repository for NPM packages that use Typescript

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 100.0%