122 lines
4.3 KiB
JSON
122 lines
4.3 KiB
JSON
|
{
|
||
|
"name": "chevrotain",
|
||
|
"version": "7.1.1",
|
||
|
"description": "Chevrotain is a high performance fault tolerant javascript parsing DSL for building recursive decent parsers",
|
||
|
"keywords": [
|
||
|
"parser",
|
||
|
"syntax",
|
||
|
"lexical",
|
||
|
"analysis",
|
||
|
"grammar",
|
||
|
"lexer",
|
||
|
"tokenizer",
|
||
|
"generator",
|
||
|
"compiler",
|
||
|
"fault",
|
||
|
"tolerant"
|
||
|
],
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/SAP/chevrotain/issues"
|
||
|
},
|
||
|
"license": "Apache-2.0",
|
||
|
"author": {
|
||
|
"name": "Shahar Soel"
|
||
|
},
|
||
|
"files": [
|
||
|
"lib_esm/src/**/*.js",
|
||
|
"lib_esm/src/**/*.js.map",
|
||
|
"lib/src/**/*.js",
|
||
|
"lib/src/**/*.js.map",
|
||
|
"lib/chevrotain.d.ts",
|
||
|
"lib/chevrotain.min.js",
|
||
|
"lib/chevrotain.js",
|
||
|
"src/**/*.ts",
|
||
|
"readme.md",
|
||
|
"LICENSE.TXT",
|
||
|
"diagrams/**/*.*",
|
||
|
"CHANGELOG.md"
|
||
|
],
|
||
|
"main": "lib/src/api.js",
|
||
|
"module": "lib_esm/src/api.js",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/SAP/chevrotain.git"
|
||
|
},
|
||
|
"homepage": "https://sap.github.io/chevrotain/docs/",
|
||
|
"scripts": {
|
||
|
"---------- CI FLOWS --------": "",
|
||
|
"build": "npm-run-all clean lint compile build:esm dts api-site:build bundle",
|
||
|
"build:esm": "npm-run-all clean:esm compile:esm",
|
||
|
"test": "npm-run-all test:esm compile:def coverage check-coverage",
|
||
|
"test:esm": "mocha \"./lib_esm/test/**/*spec.js\" --require esm",
|
||
|
"version": "tsc ./src/version.ts --outDir lib/src && node ./scripts/version-update.js",
|
||
|
"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",
|
||
|
"clean:esm": "shx rm -rf lib_esm",
|
||
|
"lint": "tslint --project tsconfig.json",
|
||
|
"compile": "tsc && node ./scripts/fix-coverage-report.js",
|
||
|
"compile:esm": "tsc --project tsconfig.esm.json",
|
||
|
"compile:watch": "tsc -w",
|
||
|
"compile:def": "npm-run-all compile-def-api 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",
|
||
|
"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",
|
||
|
"---------- DEFINITIONS --------": "",
|
||
|
"compile-def-api": "tsc --noImplicitAny test_integration/definitions/api_type_checking.ts --outDir dev/garbage --lib \"es2015\"",
|
||
|
"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"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"regexp-to-ast": "0.5.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/chai": "^4.0.10",
|
||
|
"@types/mocha": "^8.0.3",
|
||
|
"@types/sinon-chai": "^3.2.0",
|
||
|
"chai": "^4.1.2",
|
||
|
"error-stack-parser": "^2.0.6",
|
||
|
"esm": "^3.2.25",
|
||
|
"gitty": "^3.6.0",
|
||
|
"jsdom": "16.4.0",
|
||
|
"jsonfile": "^6.0.1",
|
||
|
"nyc": "^15.0.1",
|
||
|
"require-from-string": "^2.0.2",
|
||
|
"sinon": "^9.0.0",
|
||
|
"sinon-chai": "^3.0.0",
|
||
|
"source-map-support": "0.5.19",
|
||
|
"tslint": "^6.0.0",
|
||
|
"typedoc": "^0.19.2",
|
||
|
"typescript": "4.1.3",
|
||
|
"vuepress": "^1.4.1",
|
||
|
"webpack": "5.20.1",
|
||
|
"webpack-cli": "^4.1.0",
|
||
|
"xregexp": "^4.2.0"
|
||
|
},
|
||
|
"typings": "lib/chevrotain.d.ts",
|
||
|
"mocha": {
|
||
|
"recursive": true,
|
||
|
"reporter": "spec",
|
||
|
"require": [
|
||
|
"./test/test.config",
|
||
|
"source-map-support/register"
|
||
|
],
|
||
|
"ui": "bdd"
|
||
|
},
|
||
|
"gitHead": "01753e36dc2bef849a35a825684b641e0e3508e6"
|
||
|
}
|