@pkkummermo/pkk-scripts
Boostrapper for projects
Last updated a year ago by pkkummermo .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @pkkummermo/pkk-scripts 
SYNC missed versions from official npm registry.

pkk-scripts

License data-mapper-chain

A package for bootstrapping and simplifying startup of private projects

Why

Highly inspired by Kent C. Dodds kcd-scripts and his article I created pkk-scripts. It's meant to simplify creating new projects and standardize tooling versions and help keep everything up to date.

Install

npm i -D @pkkummermo/pkk-scripts

Usage

pkk-scripts --help

Usage: pkk-scripts [options] [command]

pkk-scripts - bootstrapper for projects

Options:
  -V, --version     output the version number
  -h, --help        output usage information

Commands:
  test|t            Runs project tests
  lint|l [options]  Lints project files.
  server|s          Starts development server
  build|b           Builds current project

Add configurations according to your needs in package.json.

Ex (in package.json script attribute):

{
    "scripts": {
        "build": "pkk-scripts b",
        "start": "pkk-scripts s",
        "test:unit": "pkk-scripts t",
        "test:lint": "pkk-scripts l"
    }
}

These will trigger pkk-scripts which will in turn automatically detect project configurations and run the according action.

Configuration

The CLI comes bundles with default configurations, but will eat configurations available in the project folder it is run in. This includes (for now):

  • TSLint (tslint.json)
  • ESLint (.eslintignore, .eslintrc.js, .eslintrc.json)

Current Tags

  • 0.1.11                                ...           latest (a year ago)

11 Versions

  • 0.1.11                                ...           a year ago
  • 0.1.10                                ...           a year ago
  • 0.1.9                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 2
Dependencies (23)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |