79 lines
2 KiB
JSON
79 lines
2 KiB
JSON
{
|
|
"name": "actions-hugo",
|
|
"version": "2.4.5",
|
|
"description": "GitHub Actions for Hugo",
|
|
"main": "lib/index.js",
|
|
"engines": {
|
|
"node": ">=12.14.1",
|
|
"npm": ">=6.13.7"
|
|
},
|
|
"scripts": {
|
|
"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/**/*.ts": [
|
|
"prettier --check",
|
|
"eslint",
|
|
"jest --bail --findRelatedTests"
|
|
]
|
|
},
|
|
"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.2",
|
|
"@actions/exec": "^1.0.3",
|
|
"@actions/io": "^1.0.2",
|
|
"@actions/tool-cache": "^1.3.1",
|
|
"node-fetch": "^2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^25.1.1",
|
|
"@types/node": "^13.7.0",
|
|
"@types/node-fetch": "^2.5.4",
|
|
"@typescript-eslint/eslint-plugin": "^2.19.0",
|
|
"@typescript-eslint/parser": "^2.19.0",
|
|
"@zeit/ncc": "^0.21.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-jest": "^23.6.0",
|
|
"husky": "^4.2.1",
|
|
"jest": "^25.1.0",
|
|
"jest-circus": "^25.1.0",
|
|
"lint-staged": "^10.0.7",
|
|
"nock": "^11.7.2",
|
|
"prettier": "1.19.1",
|
|
"standard-version": "^7.1.0",
|
|
"ts-jest": "^25.2.0",
|
|
"typescript": "^3.7.5"
|
|
}
|
|
}
|