create-typescript-package

1.1.1 • Public • Published

code style: prettier lerna

Create Typescript Package

Create a new Typescript package with zero build configuration.

Getting Started

Install create-typescript-package:

npm install -g create-typescript-package

Create your new package

create-typescript-package my-pkg

A new directory will be created with the following contents:

my-pkg/
  package.json
  .gitignore
  src/
    index.ts
    bar.ts

The latest version of typescript and type-scripts will be installed and added to the deveDependencies in your package.json.

Scripts

Build

npm run build

The built project will be output to build/my-pkg.js.

All dependencies will be bundled with your code.

All peerDependencies will not be bundled.

Readme

Keywords

Package Sidebar

Install

npm i create-typescript-package

Weekly Downloads

14

Version

1.1.1

License

MIT

Last publish

Collaborators

  • ncphillips