mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-29 23:03:04 +07:00
17ef667e04
Update Node.js dependencies Replace husky with simple-git-hooks Cleanup whitespace in README Fix git command in format script
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "setup-php",
|
|
"version": "2.15.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 --cache --fix",
|
|
"format": "prettier --write **/src/*.ts && git add -f src/",
|
|
"format-check": "prettier --check **/src/*.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.5.0",
|
|
"@actions/exec": "^1.1.0",
|
|
"@actions/io": "^1.1.1",
|
|
"fs": "0.0.1-security"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.0.2",
|
|
"@types/node": "^16.10.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
|
"@typescript-eslint/parser": "^4.32.0",
|
|
"@vercel/ncc": "^0.31.1",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-jest": "^24.4.2",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"jest": "^27.2.2",
|
|
"jest-circus": "^27.2.2",
|
|
"prettier": "^2.4.1",
|
|
"simple-git-hooks": "^2.6.1",
|
|
"ts-jest": "^27.0.5",
|
|
"typescript": "^4.4.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"
|
|
}
|
|
}
|