1.0.2 • Published 3 years ago

ts-project-helpers v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ts-project-helpers

Install

npm i -g ts-projet-helpers

Intro

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.json file . ( if not exists )
  • create .eslintignore and .eslintrc file . ( if not exists )
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago