0.0.1 • Published 9 years ago
node-ts-module v0.0.1
node-ts-module
Seed create a npm module/library in Node.js, TypeScript
Getting starting
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!Files to update
package.json(name, author, repository ...)Readme.md
npm scripts available
build: compiles the app intolibfolderlint: runs tslint forsrcandtestsfolderstest: runs mocha test without any compilation needed (usests-node)tsc: proxy to the locally installedtypescriptpackage
tsconfig Files
tsconfig.json: configuration file for build
Running test
# optional pass a reporter or any other mocha options.
npm test -- --reporter listResources
License
MIT