mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"name": "setup-php",
|
|
"version": "2.25.4",
|
|
"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 -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.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/io": "^1.1.3",
|
|
"compare-versions": "^6.0.0-rc.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.2",
|
|
"@types/node": "^20.3.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
"@typescript-eslint/parser": "^5.60.1",
|
|
"@vercel/ncc": "^0.36.1",
|
|
"eslint": "^8.44.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-jest": "^27.2.2",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^29.5.0",
|
|
"jest-circus": "^29.5.0",
|
|
"nock": "^13.3.1",
|
|
"prettier": "^2.8.8",
|
|
"simple-git-hooks": "^2.8.1",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"overrides": {
|
|
"semver": "7.5.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"
|
|
}
|
|
}
|