php-parser
Version:
Parse PHP code from JS and returns its AST
87 lines (86 loc) • 2.2 kB
JSON
{
"name": "php-parser",
"version": "3.2.5",
"description": "Parse PHP code from JS and returns its AST",
"main": "src/index.js",
"browser": "dist/php-parser.js",
"files": [
"src",
"dist",
"types.d.ts",
"LICENSE"
],
"types": "types.d.ts",
"scripts": {
"fix": "eslint . --fix",
"test": "jest",
"prepublishOnly": "yarpm run build",
"prebuild": "yarpm run test",
"build": "webpack --config webpack.config.js",
"-postbuild": "yarpm run build-docs",
"build-docs": "jsdoc -c .jsdoc.json",
"build-types": "jsdoc -t node_modules/tsd-jsdoc/dist -r src -d . && prettier -w types.d.ts",
"publish-docs": "git subtree push --prefix docs origin gh-pages",
"benchmark": "node test/benchmark.js",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "https://github.com/glayzzle/php-parser"
},
"bugs": {
"url": "https://github.com/glayzzle/php-parser/issues"
},
"homepage": "https://glayzzle.com/",
"keywords": [
"php",
"php5",
"php7",
"php8",
"parser",
"lexer",
"tokenizer",
"ast"
],
"author": "Ioan CHIRIAC",
"contributors": [
{
"name": "Filippo Conti",
"email": "filippo@codekraft.it",
"url": "https://b4dnewz.github.io/"
},
{
"name": "Christian Zosel",
"email": "christian@zosel.ch",
"url": "https://twitter.com/chrzosel"
}
],
"license": "BSD-3-Clause",
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"@eslint/js": "^9.29.0",
"@types/node": "^24.0.4",
"babel-loader": "^10.0.0",
"benchmark": "^2.1.4",
"coveralls": "^3.0.3",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.5.0",
"globals": "^16.2.0",
"husky": "^9.1.7",
"jest": "^30.0.3",
"jest-runner-eslint": "^2.2.1",
"jsdoc": "^4.0.4",
"jsdoc-template": "^1.2.0",
"lodash.template": ">=4.5.0",
"prettier": "^3.6.1",
"tsd-jsdoc": "^2.5.0",
"typescript": "^5.8.3",
"webpack": "5.96.0",
"webpack-cli": "^6.0.1",
"yarpm": "^1.2.0"
},
"dependencies": {}
}