chevrotain
v11.0.3 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
node ./scripts/version-update.js
---------- DEV FLOWS --------
watch
tsc -w
unit-tests
mocha --enable-source-maps
quick-build
tsc && npm-run-all run bundle
---------- BUILD STEPS --------
clean
shx rm -rf coverage dev lib temp
compile
tsc
compile:watch
tsc -w
coverage
c8 mocha --enable-source-maps
---------- BUNDLING --------
bundle
npm-run-all bundle:**
bundle:esm:regular
esbuild ./lib/src/api.js --bundle --sourcemap --format=esm --outfile=lib/chevrotain.mjs
bundle:esm:min
esbuild ./lib/src/api.js --bundle --minify --format=esm --sourcemap --outfile=lib/chevrotain.min.mjs