UNPKG

@rightcapital/php-parser

Version:

TypeScript types for PHP Parser JSON representation

70 lines (69 loc) 2.16 kB
{ "name": "@rightcapital/php-parser", "version": "1.5.1", "description": "TypeScript types for PHP Parser JSON representation", "keywords": [ "PHP", "PHP Parser", "AST", "TypeScript", "Lexer" ], "repository": "https://github.com/RightCapitalHQ/php-parser", "license": "MIT", "author": "RightCapital Ecosystem team <npm-publisher@rightcapital.com>", "main": "dist/index.js", "scripts": { "build": "pnpm run clean && tsc --project ./tsconfig.build.json", "change": "beachball change --no-commit", "check": "beachball check", "clean": "tsc --build --clean ./tsconfig.build.json", "commit": "cz", "fix": "pnpm run fix:eslint && pnpm run fix:prettier", "fix:eslint": "eslint --report-unused-disable-directives --fix .", "fix:prettier": "prettier --write .", "generate:types": "tsx src/php-parser/generate-types.ts", "preinstall": "npx only-allow pnpm", "postinstall": "command -v composer >/dev/null 2>&1 && composer install || echo 'Composer not found, skipping.'", "lint": "concurrently 'pnpm:lint:*'", "lint:eslint": "eslint --report-unused-disable-directives .", "lint:prettier": "prettier --check .", "prepare": "husky" }, "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } }, "dependencies": { "@rightcapital/phpdoc-parser": "0.4.133", "lodash": "4.17.21", "mustache": "4.2.0", "prettier": "3.6.2", "typescript": "5.8.3" }, "devDependencies": { "@commitlint/cli": "19.7.1", "@commitlint/config-conventional": "19.7.1", "@commitlint/cz-commitlint": "19.6.1", "@rightcapital/eslint-config": "38.0.1", "@rightcapital/prettier-config": "7.2.1", "@types/lodash": "4.17.16", "@types/mustache": "4.2.5", "@types/node": "20.17.22", "beachball": "2.51.0", "concurrently": "9.1.2", "eslint": "9.13.0", "husky": "9.1.7", "prettier-plugin-packagejson": "2.5.10", "tsx": "4.19.3" }, "packageManager": "pnpm@10.13.1", "engines": { "node": ">=16.x", "pnpm": ">=8.x" }, "publishConfig": { "registry": "https://registry.npmjs.org" } }