UNPKG

phpeggy

Version:

PHP target for Peggy parser generator

54 lines (53 loc) 1.98 kB
{ "name": "phpeggy", "version": "2.0.1", "description": "PHP target for Peggy parser generator", "main": "src/phpeggy.js", "peerDependencies": { "peggy": "^3.0.0" }, "devDependencies": { "@peggyjs/eslint-config": "^3.0.1", "@typescript-eslint/eslint-plugin": "^5.16.0", "@typescript-eslint/parser": "^5.16.0", "chai": "^4.3.3", "eslint": "^8.11.0", "mocha": "^10.2.0", "peggy": "^3.0.0", "typescript": "^5.0.2" }, "scripts": { "build:fixtures": "rm -f test/fixtures/*.php && GENERATE_MISSING_FIXTURES=y npm test", "build:manual-tests": "cd manual-test && node test.js", "lint": "eslint .", "php:csfix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --diff --using-cache=no", "php:csfix-manual": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.manual.php -v --dry-run --diff --using-cache=no", "php:static": "for f in test/fixtures/*.php; do echo \"\nProcessing $f ...\nPHPStan:\"; ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress $f; echo \"Psalm:\" ; ./vendor/bin/psalm $f; done", "php:static-manual": "for f in manual-test/output/*.php; do echo \"\nProcessing $f ...\nPHPStan:\"; ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress $f; echo \"Psalm:\" ; ./vendor/bin/psalm $f; done", "php:test": "npm run php:csfix && npm run php:static", "php:test-manual": "npm run php:csfix-manual && npm run php:static-manual", "pretest": "npm run lint", "test": "mocha" }, "repository": { "type": "git", "url": "https://github.com/marcelbolten/phpeggy.git" }, "keywords": [ "peggy", "plugin", "php", "parser", "generator", "PEG" ], "contributors": [ "Elantcev Mikhail", "James Nylen <jnylen@gmail.com>", "Marcel Bolten <github@marcelbolten.de>" ], "license": "MIT", "bugs": { "url": "https://github.com/marcelbolten/phpeggy/issues" } }