Nocturnal Practitioners of Magic

npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

@stayradiated/pkg

2.0.0 • Public • Published

PKG

Utils for creating, building and testing NPM packages

Usage

Add the following to your package.json.

{
  "srcPath": "lib",
  "buildPath": "dist",
  "testsPath": "test",
  "scripts": {
    "build": "pkg-build",
    "prepublish": "pkg-build",
    "test": "pkg-test",
    "coverage": "pkg-coverage",
    "lint": "pkg-lint",
    "postpublish": "pkg-update-parents"
  },
  "devDependencies": {
    "@stayradiated/pkg": "0.0.1"
  },
  "babel": {
    "presets": [
      "stayradiated"
    ]
  }
}

Commands

pkg-build

pkg-build-css

pkg-clean

pkg-coverage

pkg-lint

pkg-test

pkg-update-parents

Keywords

none

install

npm i @stayradiated/pkg

Downloadsweekly downloads

10

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability