@geekhive/gh-cli
CLI utility for front end GeekHive projects.
Last updated 3 months ago by jmfirth .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @geekhive/gh-cli 
SYNC missed versions from official npm registry.

gh-cli

A tool for easily installing front end language lint and formatting standards to projects.

Commands

Command Description
standards [keywords...] Add standards for given standard keywords

Standards

Standard Keyword Standard Lint Tool Formatting Tool
JavaScript js @geekhive/eslint-config-standard ESlint Prettier
TypeScript ts @geekhive/tslint-config-standard TSLint Prettier
SCSS scss @geekhive/stylelint-config-standard stylelint Prettier

Usage

Run with npx:

# Run the CLI tool, installing JavaScript, TypeScript, and SCSS standards
npx @geekhive/gh-cli standards js ts scss

Install the CLI tool globally and use:

# Install globally with npm
npm install -g @geekhive/gh-cli

# Install globally with yarn
yarn add -g @geekhive/gh-cli

# Run the CLI tool, installing JavaScript, TypeScript, and SCSS standards
gh standards js ts scss

Development

Make sure to commit the build files as this allows running npx directly against a branch.

Run the watch task:

yarn run dev

Run a build:

yarn run build

Execute the CLI tool:

node dist/gh.js standards js ts scss

Debug the CLI tool:

node --inspect-brk dist/gh.js standards js ts scss

Current Tags

  • 0.2.1                                ...           latest (3 months ago)

3 Versions

  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.0                                ...           6 months ago
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 6
Last Month 3
Dependencies (8)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |