@stoplight/path
v2.0.1build
rimraf dist && yarn build.grammar && yarn build.cjs && yarn build.esm
build.esm
tsc -p tsconfig.build.json --outDir dist/esm --declarationDir dist/types
build.cjs
tsc -p tsconfig.build.json --outDir dist/cjs --module commonjs --declarationDir dist/types
build.grammar
peggy --format=es src/grammar.pegjs
commit
git-cz
lint
eslint 'src/**/*.ts' && prettier --check 'src/**/*.ts'
lint.fix
eslint 'src/**/*.ts' --fix && prettier --write 'src/**/*.ts'
release
semantic-release
pretest
yarn build.grammar
test
jest
test.prod
yarn lint && yarn test --coverage --maxWorkers=2
test.update
yarn test --updateSnapshot
test.watch
yarn test --watch
yalc
yarn build && yalc push
yalc.watch
nodemon --watch 'src/**/*' --exec 'yarn yalc'
npm i @stoplight/path
Metadata
- Apache-2.0
- ^12.20 || >=14.13
- Stoplight
- released 3/19/2024