Create a new Typescript package with zero build configuration.
Install create-typescript-package:
npm install -g create-typescript-packageCreate your new package
create-typescript-package my-pkgA 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.
Build
npm run buildThe built project will be output to build/my-pkg.js.
All dependencies will be bundled with your code.
All peerDependencies will not be bundled.
Publish
npm publishDoing so will build the package and publish it to NPM.
This project is greatly inspired by the wonderful create-react-app project.
