UNPKG

@neo4j-cypher/antlr4

Version:

Cypher parser loaded from an antlr4 g4 file

59 lines (58 loc) 1.67 kB
{ "name": "@neo4j-cypher/antlr4", "description": "Cypher parser loaded from an antlr4 g4 file", "keywords": [ "cypher" ], "version": "1.0.0", "author": "Neo4j Inc.", "license": "Apache-2.0", "main": "./lib/index.js", "module": "./es/index.js", "exports": { ".": { "import": "./es/index.js", "require": "./lib/index.js" }, "./src/index.js": { "import": "./src/index.js" } }, "repository": { "type": "git", "url": "git://github.com/neo4j/cypher-editor.git" }, "bugs": { "url": "https://github.com/neo4j/cypher-editor/issues" }, "scripts": { "build-lib": "babel --config-file ../../babel.antlr4.config.js --extensions \".js\" --out-dir lib ./src", "build-es": "cross-env ES=true babel --config-file ../../babel.antlr4.config.js --extensions \".js\" --out-dir es ./src", "build": "npm run build-lib && npm run build-es", "clean:build": "rimraf lib && rimraf es", "generate": "java -jar src/antlr-4.10.1-complete.jar -Dlanguage=JavaScript src/Cypher.g4" }, "files": [ "es/", "lib/", "README.md" ], "engineStrict": true, "engines": { "node": ">=16" }, "dependencies": { "@babel/runtime": "^7.20.13", "@neo4j-cypher/antlr4-browser": "1.0.0" }, "devDependencies": { "@babel/cli": "^7.20.7", "@babel/core": "^7.20.12", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-transform-regenerator": "^7.20.5", "@babel/plugin-transform-runtime": "^7.19.6", "@babel/preset-env": "^7.20.2", "babel-plugin-replace-imports": "^1.0.2" } }