73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"name": "hugo-action",
|
|
"version": "2.3.2",
|
|
"description": "Hugo setup action",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"lint": "eslint ./src/**/*.ts",
|
|
"lint:fix": "eslint --fix ./src/**/*.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",
|
|
"git add"
|
|
]
|
|
},
|
|
"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.1",
|
|
"@actions/exec": "^1.0.3",
|
|
"@actions/io": "^1.0.2",
|
|
"@actions/tool-cache": "^1.3.0",
|
|
"xmlhttprequest": "^1.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.9.0",
|
|
"@types/node": "^13.1.7",
|
|
"@typescript-eslint/parser": "^2.16.0",
|
|
"@zeit/ncc": "^0.21.0",
|
|
"eslint": "^6.8.0",
|
|
"husky": "^4.0.10",
|
|
"jest": "^24.9.0",
|
|
"jest-circus": "^24.9.0",
|
|
"lint-staged": "^9.5.0",
|
|
"prettier": "1.19.1",
|
|
"standard-version": "^7.0.1",
|
|
"ts-jest": "^24.3.0",
|
|
"typescript": "^3.7.5"
|
|
}
|
|
}
|