mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 05:23:03 +07:00
a34eeedd37
Add config to generate types Fix build error in install.ts after TypeScript upgrade Minor refactor in install.test.ts Add bugs, directories, files and types entries in package.json Update Node.js dependencies Update SECURITY.md
70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
{
|
|
"name": "setup-php",
|
|
"version": "2.14.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 .",
|
|
"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.1",
|
|
"@types/node": "^16.9.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
|
"@typescript-eslint/parser": "^4.31.0",
|
|
"@vercel/ncc": "^0.31.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-jest": "^24.4.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"husky": "^4.3.8",
|
|
"jest": "^27.1.1",
|
|
"jest-circus": "^27.1.1",
|
|
"prettier": "^2.4.0",
|
|
"ts-jest": "^27.0.5",
|
|
"typescript": "^4.4.3"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/shivammathur/setup-php/issues"
|
|
},
|
|
"husky": {
|
|
"skipCI": true,
|
|
"hooks": {
|
|
"pre-commit": "npm run format && npm run lint && npm run test && npm run build && npm run release"
|
|
}
|
|
}
|
|
}
|