UNPKG

@parser-generator/core

Version:

A Parser Generator that supports LL,SLR,LR1,LALR

51 lines (50 loc) 1.51 kB
{ "name": "@parser-generator/core", "version": "0.1.0-alpha.0", "scripts": { "pretest": "rimraf rm lib && yarn run build:cjs", "test": "nyc mocha lib/cjs/__tests__/**/*.test.js", "posttest": "nyc report --reporter=json", "compile": "babel --extensions \".ts\" --copy-files", "prebuild": "rimraf rm lib", "build": "yarn run build:types && yarn run build:cjs && yarn run build:esm", "build:types": "tsc --emitDeclarationOnly --baseUrl ./src --rootDir src --outDir lib/types", "build:cjs": "yarn run compile src --out-dir lib/cjs --config-file ../../babel-cjs.json", "build:esm": "yarn run compile src --out-dir lib/esm --config-file ../../babel-esm.json", "postbuild": "rimraf rm lib/*/__tests__ lib/tsconfig.tsbuildinfo" }, "dependencies": { "@babel/runtime-corejs3": "^7.7.7", "@light0x00/shim": "^0.0.2", "@parser-generator/definition": "^0.1.0-alpha.0", "@types/debug": "^4.1.5", "debug": "^4.1.1" }, "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "types": "lib/types/index.d.ts", "files": [ "lib" ], "contributors": [ "Chen Yang <light0x00@163.com> (https://github.com/light0x00)" ], "description": "A Parser Generator that supports LL,SLR,LR1,LALR", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/light0x00/parser-generator.git" }, "homepage": "https://github.com/light0x00/parser-generator", "keywords": [ "Parser", "LL", "LR", "SLR", "LR1", "LALR" ], "publishConfig": { "access": "public" } }