tsm-client

0.1.7 • Public • Published

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 😉)
  • (m)npm publish: Publish new npm packages(in meituan).

Features

Package Sidebar

Install

npm i tsm-client

Weekly Downloads

0

Version

0.1.7

License

ISC

Unpacked Size

30.3 kB

Total Files

5

Last publish

Collaborators

  • murphy96