83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"name": "actions-hugo",
|
|
"version": "2.4.13",
|
|
"description": "GitHub Actions for Hugo",
|
|
"main": "lib/index.js",
|
|
"engines": {
|
|
"node": ">=12.14.1",
|
|
"npm": ">=6.13.7"
|
|
},
|
|
"scripts": {
|
|
"all": "npm run format:check && npm run lint && npm test",
|
|
"lint": "eslint ./{src,__tests__}/**/*.ts",
|
|
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
|
|
"test": "jest --coverage --verbose",
|
|
"build": "ncc build ./src/index.ts -o lib",
|
|
"tsc": "tsc",
|
|
"format": "prettier --write **/*.ts",
|
|
"format:check": "prettier --check **/*.ts",
|
|
"release": "standard-version",
|
|
"update-deps": "(git diff 'HEAD@{1}' --name-only | grep 'package-lock.json' > /dev/null) && npm ci || :"
|
|
},
|
|
"husky": {
|
|
"skipCI": true,
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"post-merge": "npm run update-deps; git remote prune origin"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{src,__tests__}/**/*.ts": [
|
|
"prettier --check",
|
|
"eslint"
|
|
],
|
|
"README.md": [
|
|
"npx doctoc@2.0.0 --github"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/peaceiris/actions-hugo.git"
|
|
},
|
|
"keywords": [
|
|
"GitHub",
|
|
"Actions",
|
|
"JavaScript",
|
|
"TypeScript",
|
|
"Hugo",
|
|
"Setup"
|
|
],
|
|
"author": "peaceiris",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/peaceiris/actions-hugo/issues"
|
|
},
|
|
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.4",
|
|
"@actions/io": "^1.0.2",
|
|
"@actions/tool-cache": "^1.6.1",
|
|
"node-fetch": "^2.6.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "~12",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
"@typescript-eslint/parser": "^4.7.0",
|
|
"@vercel/ncc": "^0.25.1",
|
|
"eslint": "^7.13.0",
|
|
"eslint-plugin-jest": "^24.1.2",
|
|
"husky": "^4.3.0",
|
|
"jest": "^26.6.3",
|
|
"jest-circus": "^26.6.3",
|
|
"lint-staged": "^10.5.1",
|
|
"nock": "^13.0.5",
|
|
"prettier": "2.1.2",
|
|
"standard-version": "^9.0.0",
|
|
"ts-jest": "^26.4.4",
|
|
"typescript": "^4.0.5"
|
|
}
|
|
}
|