chevrotain

v4.8.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 --------

build

npm-run-all clean lint compile dts api-site:build bundle

test

npm-run-all compile:def coverage check-coverage karma

version

node ./scripts/version-update.js && npm-run-all website:build

postversion

npm-run-all website:build website:upload api-site:build api-site:upload

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

watch

tsc -w

unit-tests

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

quick-build

tsc && yarn run bundle

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

clean

shx rm -rf coverage dev lib

lint

tslint --project tsconfig.json

compile

tsc && node ./scripts/fix-coverage-report.js

compile:watch

tsc -w

compile:def

npm-run-all compile-def-modules compile-def-namespace

dts

node scripts/process-docs.js

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

api-site:build

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

api-site:upload

./scripts/api-site-upload.sh

website:dev

vuepress dev docs

website:build

vuepress build docs

website:upload

./scripts/website-upload.sh

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

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

Metadata

Downloads

Maintainers