chevrotain

v3.7.4
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_full_build

npm-run-all clean lint verify_format compile dts compile_def coverage check_coverage docs bundle integration_tests

ci_browser_tests

npm-run-all clean compile bundle karma

ci_full_build_coveralls

npm-run-all ci_full_build coveralls

dev_unit_tests

npm-run-all clean compile unit_tests

dev_integration_tests

npm-run-all clean quick_build dts integration_tests

dev_browser_tests

npm-run-all clean compile bundle karma

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

watch

tsc -w

unit_tests

_mocha "./lib/test/**/*spec.js"

format

prettier --no-editorconfig --write "**/*.@(ts|js|md)"

quick_build

tsc && yarn run bundle

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

clean

rm -rf coverage dev lib

lint

tslint --project tsconfig.json

verify_format

prettier --no-editorconfig --list-different "**/*.@(ts|js|md)"

compile

tsc && node ./scripts/fix_coverage_report.js

compile_watch

tsc -w && node ./scripts/fix_coverage_report.js

dts

node scripts/process_docs.js

compile_def

npm-run-all compile_def_modules compile_def_namespace

coverage

nyc mocha "./lib/test/**/*spec.js"

check_coverage

nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100

bundle

npm-run-all bundle_regular bundle_min bundle_spec

docs

typedoc api.d.ts --mode file --out dev/docs --module commonjs --excludeExternals --includeDeclarations --excludePrivate

website:dev

vuepress dev docs

website:build

vuepress build docs

dead_links

awesome_bot docs/*.md docs/*/*.md diagrams/*.md examples/*.md examples/*/*.md examples/*/*/*.md readme.md --allow-dupe --allow-redirect --skip-save-results

upload_website

yarn run website:build && node ../chevrotain_docs/scripts/upload_website.js

integration_tests

grunt integration_tests

karma

grunt browsers_tests

coveralls

cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

---------- DEFINITIONS --------

compile_def_modules

tsc --noImplicitAny test_integration/definitions/es6_modules.ts --outDir dev/garbage --lib "es2015"

compile_def_namespace

tsc --noImplicitAny test_integration/definitions/namespaces.ts --module none --outDir dev/garbage --lib "es2015"

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

bundle_regular

webpack --config webpack_release.config.js

bundle_min

webpack --config webpack_release_min.config.js

bundle_spec

webpack --config webpack_specs.config.js

---------- RELEASES --------

release_patch

git fetch && git rebase && node scripts/pre_release_build.js patch && yarn run ci_full_build && node scripts/post_release_build.js patch && yarn run upload_website && node ../chevrotain_docs/scripts/upload_docs.js

release_minor

git fetch && git rebase && node scripts/pre_release_build.js minor && yarn run ci_full_build && node scripts/post_release_build.js minor && yarn run upload_website && node ../chevrotain_docs/scripts/upload_docs.js

release_major

git fetch && git rebase && node scripts/pre_release_build.js major && yarn run ci_full_build && node scripts/post_release_build.js major && yarn run upload_website && node ../chevrotain_docs/scripts/upload_docs.js

Metadata

Downloads

Maintainers