2019-09-16 01:27:57 +02:00
|
|
|
{
|
|
|
|
"name": "hugo-action",
|
2019-09-21 15:45:31 +02:00
|
|
|
"version": "2.2.0",
|
2019-09-16 01:27:57 +02:00
|
|
|
"description": "Hugo setup action",
|
2019-09-18 00:32:17 +02:00
|
|
|
"main": "lib/index.js",
|
2019-09-16 01:27:57 +02:00
|
|
|
"scripts": {
|
2019-09-21 03:41:21 +02:00
|
|
|
"lint": "eslint ./src/**/*.ts",
|
|
|
|
"lint:fix": "eslint --fix ./src/**/*.ts",
|
|
|
|
"test": "jest --coverage --verbose",
|
|
|
|
"build": "npm prune --production",
|
|
|
|
"tsc": "tsc",
|
|
|
|
"format": "prettier --write **/*.ts",
|
|
|
|
"format:check": "prettier --check **/*.ts"
|
2019-09-16 01:27:57 +02:00
|
|
|
},
|
2019-09-22 01:13:23 +02:00
|
|
|
"husky": {
|
|
|
|
"skipCI": true,
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
2019-09-23 03:58:19 +02:00
|
|
|
"post-commit": "npm run tsc && npm run build && echo '⚠️ Do not forget to Commit and Push ./lib and ./node_modules'"
|
2019-09-22 01:13:23 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"src/**/*.ts": [
|
|
|
|
"prettier --check",
|
|
|
|
"eslint",
|
|
|
|
"jest --bail --findRelatedTests",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2019-09-16 01:27:57 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/peaceiris/actions-hugo.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"GitHub",
|
|
|
|
"Actions",
|
|
|
|
"JavaScript",
|
2019-09-21 15:45:31 +02:00
|
|
|
"TypeScript",
|
|
|
|
"Hugo",
|
|
|
|
"Setup"
|
2019-09-16 01:27:57 +02:00
|
|
|
],
|
|
|
|
"author": "peaceiris",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/peaceiris/actions-hugo/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
|
|
|
|
"dependencies": {
|
2019-09-21 04:24:42 +02:00
|
|
|
"@actions/core": "^1.1.1",
|
2019-09-17 21:11:47 +02:00
|
|
|
"@actions/exec": "^1.0.1",
|
2019-09-16 01:27:57 +02:00
|
|
|
"@actions/io": "^1.0.1",
|
|
|
|
"@actions/tool-cache": "^1.1.1",
|
|
|
|
"xmlhttprequest": "^1.8.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-09-21 03:41:21 +02:00
|
|
|
"@types/jest": "^24.0.18",
|
|
|
|
"@types/node": "^12.7.5",
|
|
|
|
"@typescript-eslint/parser": "^2.3.0",
|
2019-09-16 08:20:59 +02:00
|
|
|
"eslint": "^6.4.0",
|
2019-09-21 03:41:21 +02:00
|
|
|
"husky": "^3.0.5",
|
|
|
|
"jest": "^24.9.0",
|
|
|
|
"jest-circus": "^24.9.0",
|
2019-09-22 01:13:23 +02:00
|
|
|
"lint-staged": "^9.2.5",
|
2019-09-21 03:41:21 +02:00
|
|
|
"prettier": "1.18.2",
|
|
|
|
"ts-jest": "^24.1.0",
|
|
|
|
"typescript": "^3.6.3"
|
2019-09-16 01:27:57 +02:00
|
|
|
}
|
|
|
|
}
|