@stoplight/scripts

v10.0.0
Scripts that help when creating, testing, releasing, and linting libraries.

prebuild

rimraf dist

build

tsc --module commonjs

postbuild

oclif manifest && oclif readme

test

jest

test.watch

jest --watch

test.prod

yarn lint && yarn test --coverage --maxWorkers=2

test.update

yarn test --updateSnapshot

lint

yarn prettier.check && eslint .

prettier.check

prettier --ignore-path .eslintignore --check '**/*.{js,jsx,ts,tsx,md}'

lint.fix

prettier --ignore-path .eslintignore --write '**/*.{js,jsx,ts,tsx,md}'; eslint . --fix

commit

git-cz

release

semantic-release

postpack

rm -f oclif.manifest.json

prepack

rm -rf dist && yarn build

prepare

husky
npm i @stoplight/scripts

Metadata

Downloads

Maintainers