mirror of
https://github.com/actions/setup-java
synced 2024-11-27 19:42:02 +00:00
0cf3ae56f5
* Download from zulu * Fix pathing * Fix * Fix * Fix * Update io * Tests and pathing * Add back husky * Update action.yml
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "setup-java",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "setup java action",
|
|
"main": "lib/setup-java.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"format": "prettier --write **/*.ts",
|
|
"format-check": "prettier --check **/*.ts",
|
|
"test": "jest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/setup-java.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"setup"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "file:toolkit/actions-core-0.0.0.tgz",
|
|
"@actions/exec": "file:toolkit/actions-exec-0.0.0.tgz",
|
|
"@actions/io": "file:toolkit/actions-io-0.0.0.tgz",
|
|
"@actions/tool-cache": "file:toolkit/actions-tool-cache-0.0.0.tgz",
|
|
"semver": "^6.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.13",
|
|
"@types/node": "^12.0.4",
|
|
"@types/semver": "^6.0.0",
|
|
"husky": "^3.0.0",
|
|
"jest": "^24.8.0",
|
|
"jest-circus": "^24.7.1",
|
|
"prettier": "^1.17.1",
|
|
"ts-jest": "^24.0.2",
|
|
"typescript": "^3.5.1"
|
|
},
|
|
"husky": {
|
|
"skipCI": true,
|
|
"hooks": {
|
|
"pre-commit": "npm run build && npm run format",
|
|
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
|
|
}
|
|
}
|
|
}
|