@serverless/utils

v5.8.1
Serverless CLI utilities

commitlint

commitlint -f HEAD@{15}

commitlint:pull-request

commitlint -f HEAD~1

coverage

nyc npm test

lint

eslint .

lint:updated

pipe-git-updated --ext=js -- eslint

prepare-release

standard-version && prettier --write CHANGELOG.md

prettier-check

prettier -c --ignore-path .gitignore "**/*.{css,html,js,json,md,yaml,yml}"

prettier-check:updated

pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c

prettify

prettier --write --ignore-path .gitignore "**/*.{css,html,js,json,md,yaml,yml}"

prettify:updated

pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write

test

mocha "test/**/*.js"

test:isolated

mocha-isolated "test/**/*.js"
npm i @serverless/[email protected]

Metadata

  • MIT
  • >=10.0
  • Serverless, Inc.
  • released 9/7/2021

Downloads

Maintainers