e194c83989
* ci: setup lint-staged * refactor: remove golang and git dumping
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
{
|
|
"name": "hugo-action",
|
|
"version": "2.2.0",
|
|
"description": "Hugo setup action",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"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"
|
|
},
|
|
"husky": {
|
|
"skipCI": true,
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"post-commit": "npm run tsc && npm run build && git add ./lib/**/*.js ./node_modules && git commit -m \"deps: Husky commit correct node modules\""
|
|
}
|
|
},
|
|
"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.1.1",
|
|
"@actions/exec": "^1.0.1",
|
|
"@actions/io": "^1.0.1",
|
|
"@actions/tool-cache": "^1.1.1",
|
|
"xmlhttprequest": "^1.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.18",
|
|
"@types/node": "^12.7.5",
|
|
"@typescript-eslint/parser": "^2.3.0",
|
|
"eslint": "^6.4.0",
|
|
"husky": "^3.0.5",
|
|
"jest": "^24.9.0",
|
|
"jest-circus": "^24.9.0",
|
|
"lint-staged": "^9.2.5",
|
|
"prettier": "1.18.2",
|
|
"ts-jest": "^24.1.0",
|
|
"typescript": "^3.6.3"
|
|
}
|
|
}
|