UNPKG

@light0x00/parser-generator

Version:

A Parser Generator

46 lines (45 loc) 1.39 kB
{ "name": "@light0x00/parser-generator", "version": "0.0.2", "description": "A Parser Generator", "license": "MIT", "author": "light0x00 <light0x00@163.com>", "main": "lib/index.js", "files": [ "lib" ], "scripts": { "clean": "yarn run rimraf rm dist && yarn run rimraf rm lib", "//babel": "🤪babel-cli has too many configurations, so let it stand alone", "babel": "babel --extensions \".ts\" --copy-files --root-mode upward", "build:types": "tsc --emitDeclarationOnly --rootDir src --outDir lib -p tsconfig.prod.json", "build:src": "yarn run babel src --out-dir lib", "build": "yarn run clean && yarn run build:src && yarn run build:types", "build:watch": "yarn run build:src --watch && yarn run build:types --watch", "pretest": "yarn run clean && yarn run babel -- src --out-dir dist/src && yarn run babel -- test --out-dir dist/test", "test": "nyc cross-env DEBUG=APP:* mocha --harmony --file dist/test/*.js", "posttest": "nyc report --reporter=json" }, "dependencies": { "@light0x00/parser-definition": "^0.0.2", "@light0x00/shim": "^0.0.1", "debug": "^4.1.1", "lodash": "^4.17.15", "module-alias": "^2.2.2" }, "bundledDependencies": [], "keywords": [ "LL", "Parser", "LR", "SLR", "LR1" ], "bin": { "pgen": "path/to/cli" }, "publishConfig": { "access": "public" }, "gitHead": "7694ed27e5268d4cf993bf85ebcaa10b9b4fc1ad" }