@tyler.thayn/pkg-tools

1.0.1 • Public • Published

@tyler.thayn/pkg-tools

Build Status NPM Version NPM Downloads license Various development and management tools for design packages/repos.

Installation

npm install @tyler.thayn/pkg-tools --save-dev

Usage

  1. Run pkg init tools
pkg-tools pkg merge
pkg-tools pkg install
pkg-tools copy
  1. Grunt
  • Modify Gruntfile.js so that correct file paths are used
grunt || grunt docs
  1. CLI
pkg-tools --help
  1. README.md customization

Code/Api

AST

  • Load(file) => {Promise.<AST>}
  • Data {object}
  • Filter(filters) => {AST}
  • Outline() => {object}

cli

  • bump {object}

tasks/bump

tasks/readme

  • Options
    • ast {boolean|string} AST output file or false to skip
    • output {null|string} Output folder or null (stdout)
    • template {string} Template path

Docs

  • Options
    • ast {boolean|string} AST output file or false to skip
    • output {null|string} Output folder or null (stdout)
    • template {string} Template path

License

Licensed under the MIT License (see MIT).

Package Sidebar

Install

npm i @tyler.thayn/pkg-tools

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

12.7 MB

Total Files

213

Last publish

Collaborators

  • tyler.thayn