mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-25 21:13:04 +07:00
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "setup-php",
|
|
"version": "2.21.1",
|
|
"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.9.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/io": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^28.1.6",
|
|
"@types/node": "^18.6.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
"@typescript-eslint/parser": "^5.31.0",
|
|
"@vercel/ncc": "^0.34.0",
|
|
"eslint": "^8.20.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jest": "^26.6.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^28.1.3",
|
|
"jest-circus": "^28.1.3",
|
|
"nock": "^13.2.9",
|
|
"prettier": "^2.7.1",
|
|
"simple-git-hooks": "^2.8.0",
|
|
"ts-jest": "^28.0.7",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"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"
|
|
}
|
|
}
|