@zcong/dev-scripts

0.0.7 • Public • Published

@zcong/dev-scripts

NPM version NPM downloads CircleCI donate

Table of Contents

Install

$ yarn global add @zcong/dev-scripts
# npm
$ npm i -g @zcong/dev-scripts
# or use in project
$ yarn add @zcong/dev-scripts --dev

Usage

# run test with jest
$ dev-scripts test
# run lint with xo
$ dev-scripts lint
# run format with prettier
$ dev-scripts format
# gen toc for md file
# make sure there is `## Table of Contents` in your file
$ dev-scripts *.md --max-depth=3 --write
# or to stdout
$ dev-scripts *.md --max-depth=3 -q
# or copy
$ dev-scripts *.md --max-depth=3 -q | pbcopy

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

@zcong/dev-scripts © zcong1993, Released under the MIT License.
Authored and maintained by zcong1993 with help from contributors (list).

github.com/zcong1993 · GitHub @zcong1993

Readme

Keywords

none

Package Sidebar

Install

npm i @zcong/dev-scripts

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

8.07 kB

Total Files

12

Last publish

Collaborators

  • zcong