UNPKG

parsergen-starter

Version:

A complete parser generator starter with PEG.js, optional Moo lexer, and VS Code integration

100 lines (99 loc) 2.89 kB
{ "name": "parsergen-starter", "version": "1.0.8", "type": "module", "description": "A complete parser generator starter with PEG.js, optional Moo lexer, and VS Code integration", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "bin": { "parsergen": "./dist/bin/cli.js" }, "scripts": { "repl": "tsx src/repl.ts", "dev": "tsx src/index.ts", "build": "tsup src/index.ts src/bin/cli.ts --format cjs,esm --dts --clean", "test": "jest --config jest.config.cjs", "test:watch": "jest --watch", "dev:ui": "vite", "build:ui": "vite build", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "lint:all": "eslint . --ext .ts,.tsx,.js,.jsx", "lint:all:fix": "eslint . --ext .ts,.tsx,.js,.jsx --fix", "lint:check": "eslint . --ext .ts,.tsx,.js,.jsx --max-warnings 0", "prettier": "prettier --check .", "typecheck": "tsc --noEmit", "format": "prettier --write ." }, "keywords": [ "parser", "peg", "grammar", "lexer", "ast", "compiler", "pegjs", "moo" ], "author": "nyigoro", "license": "MIT", "devDependencies": { "@babel/core": "^7.28.0", "@babel/preset-env": "^7.28.0", "@babel/preset-typescript": "^7.27.1", "@eslint/js": "^9.31.0", "@stylistic/eslint-plugin": "^5.2.0", "@types/jest": "^30.0.0", "@types/moo": "^0.5.10", "@types/node": "^24.0.14", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@typescript-eslint/eslint-plugin": "^8.37.0", "@typescript-eslint/parser": "^8.37.0", "@vitejs/plugin-react": "^4.6.0", "babel-jest": "^30.0.4", "eslint": "^9.31.0", "eslint-config-prettier": "^10.1.5", "jest": "^30.0.4", "npm": "^11.4.2", "peggy": "^5.0.5", "prettier": "^3.6.2", "react": "^19.1.0", "react-dom": "^19.1.0", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "tsup": "^8.5.0", "tsx": "^4.20.3", "typescript": "^5.8.3", "vite": "^7.0.4", "vite-plugin-raw": "^1.0.3" }, "dependencies": { "@codemirror/lang-javascript": "^6.2.4", "@codemirror/theme-one-dark": "^6.1.3", "@swc/core": "^1.13.0", "@uiw/react-codemirror": "^4.24.1", "colorette": "^2.0.20", "commander": "^14.0.0", "moo": "^0.5.2" }, "engines": { "node": ">=22.17.0" }, "repository": { "type": "git", "url": "https://github.com/nyigoro/parsergen-starter.git" }, "bugs": { "url": "https://github.com/nyigoro/parsergen-starter/issues" }, "homepage": "https://github.com/nyigoro/parsergen-starter#readme" }