chevrotain
v10.1.2 parser syntax lexical analysis grammar lexer tokenizer generator compiler and 3 more...
---------- CI FLOWS --------
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 && yarn run bundle
---------- BUILD STEPS --------
clean
shx rm -rf coverage dev lib lib_esm
compile
tsc && node ./scripts/fix-coverage-report.js && 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
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Shahar Soel
- released 3/6/2022