mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-24 20:51:06 +07:00
7f1cfc01ec
Update Node.js dependencies Migrate eslint config to a mjs file Fix imports in tests Bump to Node.js 20.x in workflows
71 lines
1.9 KiB
JSON
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.2",
|
|
"@eslint/js": "^9.14.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^22.8.7",
|
|
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
|
"@typescript-eslint/parser": "^8.12.2",
|
|
"@vercel/ncc": "^0.38.2",
|
|
"eslint": "^9.14.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-jest": "^28.8.3",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"globals": "^15.11.0",
|
|
"jest": "^29.7.0",
|
|
"jest-circus": "^29.7.0",
|
|
"nock": "^13.5.5",
|
|
"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"
|
|
}
|
|
}
|