ts-project-helpers
v1.0.2
Published
Helps init typescript project in one-command-line.
Readme
ts-project-helpers
Install
npm i -g ts-projet-helpersIntro
Helps init typescript project in one-command-line.
All command will check if current folder is a nodejs project.\
Command : tph-init
- Add following npm package into devDependencies ( if not exists ). But not installed yet.
version will all set to"*"- typescript
- @types/node
- eslint
- eslint-config-egg
- mocha
- @types/mocha
- chai
- @types/chai
- Add package script
"mocha-test" : "mocha --reporter spec --timeout 10000 --colors test/**/*.test.js" - Add package script
"mocha-debug" : "mocha --reporter spec --timeout 10000 --colors test/debug.js" - create
tsconfig.jsonfile . ( if not exists ) - create
.eslintignoreand.eslintrcfile . ( if not exists )
