mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-24 20:51:06 +07:00
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "setup-php",
|
|
"version": "2.31.2",
|
|
"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.10.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/io": "^1.1.3",
|
|
"compare-versions": "^6.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.14.10",
|
|
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
"@typescript-eslint/parser": "^7.16.0",
|
|
"@vercel/ncc": "^0.38.1",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jest": "^28.6.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"jest": "^29.7.0",
|
|
"jest-circus": "^29.7.0",
|
|
"nock": "^13.5.4",
|
|
"prettier": "^3.3.3",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"ts-jest": "^29.2.2",
|
|
"typescript": "^5.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"
|
|
}
|
|
}
|