@stoplight/scripts

v9.0.1
Scripts that help when creating, testing, releasing, and linting libraries.

lint

tslint --project tsconfig.json -t codeFrame 'src/**/*.{ts,tsx}'

test

jest

build

tsc --module commonjs

commit

git-cz

prepack

rm -rf dist && yarn build

release

semantic-release

lint.fix

yarn lint --fix

postpack

rm -f oclif.manifest.json

prebuild

rimraf dist

postbuild

oclif-dev manifest && oclif-dev readme

test.prod

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

test.watch

jest --watch

test.update

yarn test --updateSnapshot
npm i @stoplight/[email protected]

Metadata

Downloads