UNPKG

php-parser

Version:

Parse PHP code from JS and returns its AST

88 lines (87 loc) 2.24 kB
{ "name": "php-parser", "version": "3.2.2", "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.26.0", "@babel/preset-env": "^7.26.0", "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.14.0", "@types/node": "^22.9.0", "babel-loader": "^9.2.1", "benchmark": "^2.1.4", "coveralls": "^3.0.3", "eslint": "^9.14.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-prettier": "^5.2.1", "globals": "^15.12.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-runner-eslint": "^2.2.1", "jsdoc": "^3.6.11", "jsdoc-template": "^1.2.0", "lodash.template": ">=4.5.0", "prettier": "^3.3.3", "tsd-jsdoc": "^2.5.0", "typescript": "^5.6.3", "webpack": "5.96.0", "webpack-cli": "^5.1.4", "yarpm": "^1.2.0" }, "dependencies": {} }