mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "setup-php",
|
|
"version": "2.25.5",
|
|
"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.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.4",
|
|
"@types/node": "^20.5.6",
|
|
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
"@typescript-eslint/parser": "^6.4.1",
|
|
"@vercel/ncc": "^0.36.1",
|
|
"eslint": "^8.47.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-import": "^2.28.1",
|
|
"eslint-plugin-jest": "^27.2.3",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"jest": "^29.6.4",
|
|
"jest-circus": "^29.6.4",
|
|
"nock": "^13.3.3",
|
|
"prettier": "^3.0.2",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"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"
|
|
}
|
|
}
|