esbuild-plugin-peggy
Version:
An esbuild plugin for importing PEG.js / Peggy grammar files directly into your JavaScript or TypeScript projects.
77 lines (76 loc) • 2.02 kB
JSON
{
"name": "esbuild-plugin-peggy",
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
"private": false,
"version": "0.0.0",
"description": "An esbuild plugin for importing PEG.js / Peggy grammar files directly into your JavaScript or TypeScript projects.",
"license": "MPL-2.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"repository": "github:tiny-md/esbuild-plugin-peggy",
"bugs": "https://github.com/tiny-md/esbuild-plugin-peggy/issues",
"homepage": "https://github.com/tiny-md/esbuild-plugin-peggy/#readme",
"sideEffects": false,
"files": [
"dist/**"
],
"scripts": {
"build": "tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c",
"clean": "rm -rf dist",
"dev": "tsup --watch && tsc -p tsconfig-build.json -w",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"test": "vitest run --coverage"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/node": "^22.13.11",
"@vitest/coverage-v8": "^3.0.9",
"esbuild": "^0.25.1",
"esbuild-plugin-rdi": "^0.0.0",
"esbuild-plugin-react18": "0.2.6",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.9"
},
"dependencies": {
"peggy": "^4.2.0"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/tiny-md"
},
{
"type": "github",
"url": "https://github.com/sponsors/mayank1513"
}
],
"keywords": [
"esbuild",
"esbuild-plugin",
"peggy",
"pegjs",
"peg",
"parser",
"grammar",
"peg-parser",
"esbuild-peggy",
"esbuild-loader",
"pegjs-loader",
"peggy-loader",
"typescript",
"javascript",
"frontend",
"build-tool",
"plugin",
"syntax-parser",
"compiler",
"frontend-development",
"mayank1513"
]
}