Seed create a npm module/library in Node.js, TypeScript
git clone git@github.com:kushwahashiv/node-ts-module.git {my-folder}
cd {my-folder}
rm -rf .git
git init
npm install
npm test -- -w
# Enjoy!
package.json
(name, author, repository ...)Readme.md
build
: compiles the app intolib
folderlint
: runs tslint forsrc
andtests
folderstest
: runs mocha test without any compilation needed (usests-node
)tsc
: proxy to the locally installedtypescript
package
tsconfig.json
: configuration file for build
# optional pass a reporter or any other mocha options.
npm test -- --reporter list
MIT