chevrotain

v10.2.0
Chevrotain is a high performance fault tolerant javascript parsing DSL for building recursive decent parsers
parser syntax lexical analysis grammar lexer tokenizer generator compiler and 3 more...

---------- CI FLOWS --------

ci

pnpm run build test

build

npm-run-all clean compile bundle

test

npm-run-all coverage

version

tsc ./src/version.ts --outDir lib/src && node ./scripts/version-update.js

---------- DEV FLOWS --------

watch

tsc -w

unit-tests

mocha

quick-build

tsc && npm-run-all run bundle

---------- BUILD STEPS --------

clean

shx rm -rf coverage dev lib lib_esm

compile

tsc && npm-run-all gen-esm-wrapper

compile:watch

tsc -w

gen-esm-wrapper

gen-esm-wrapper . ./lib_esm/api_esm.mjs

coverage

nyc mocha

---------- BUNDLING --------

bundle

npm-run-all bundle:**

bundle:regular

webpack --config webpack_release.config.js

bundle:min

webpack --config webpack_release_min.config.js

bundle:esm:regular

esbuild ./lib/src/api.js --bundle --sourcemap --format=esm --outfile=lib_esm/chevrotain.mjs

bundle:esm:min

esbuild ./lib/src/api.js --bundle --minify --format=esm --sourcemap --outfile=lib_esm/chevrotain.min.mjs

Metadata

Downloads

Maintainers