0.0.1 • Published 8 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 intolib
folderlint
: runs tslint forsrc
andtests
folderstest
: runs mocha test without any compilation needed (usests-node
)tsc
: proxy to the locally installedtypescript
package
tsconfig Files
tsconfig.json
: configuration file for build
Running test
# optional pass a reporter or any other mocha options.
npm test -- --reporter list
Resources
License
MIT