setup-php/package.json
2024-11-18 19:32:14 +05:30

71 lines
1.9 KiB
JSON

{
"name": "setup-php",
"version": "2.32.0",
"private": false,
"description": "Setup PHP for use with GitHub Actions",
"main": "lib/install.js",
"types": "lib/install.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__",
"src": "src"
},
"files": [
"lib",
"src"
],
"scripts": {
"build": "tsc",
"lint": "eslint **/src/*.ts **/__tests__/*.ts --cache --fix",
"format": "prettier --write **/src/*.ts **/__tests__/*.ts && git add -f __tests__/ ",
"format-check": "prettier --check **/src/*.ts **/__tests__/*.ts",
"release": "ncc build -m -o dist && git add -f dist/",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shivammathur/setup-php.git"
},
"keywords": [
"actions",
"php",
"setup"
],
"author": "shivammathur",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/io": "^1.1.3",
"compare-versions": "^6.1.1"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@eslint/js": "9.14.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"@vercel/ncc": "^0.38.3",
"eslint": "9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"nock": "^13.5.6",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
},
"bugs": {
"url": "https://github.com/shivammathur/setup-php/issues"
},
"simple-git-hooks": {
"pre-commit": "npm run format && npm run lint && npm run test && npm run build && npm run release"
}
}