0.1.7 • Published 6 years ago

tsm-client v0.1.7

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

tsm-cli

A scaffolding for building your TypeScript library.

Usage

# install cli
mnpm install -g @hfe/tsm-cli
# generate your typescript project
tsm init [you-project-name]
cd [your-project-name]
# install dependencies use yarn(or `npm install`)
yarn

Other commands

# check version
tsm --version

NPM Scripts

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)
  • (m)npm publish: Publish new npm packages(in meituan).

Features