chevrotain
v2.0.1 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)"
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)"
compile
tsc
dts
grunt concat
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 --statements 100 --functions 100
bundle
npm-run-all bundle_regular bundle_min bundle_spec
docs
typedoc lib/chevrotain.d.ts --mode file --out dev/docs --module commonjs --excludeExternals --includeDeclarations
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
website
daux -ddev/website
upload_website
yarn run website && 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
compile_def_namespace
tsc --noImplicitAny test_integration/definitions/namespaces.ts --module none --outDir dev/garbage
---------- 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
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Shahar Soel
- released 2/11/2018