2019-07-10 22:54:25 +08:00
|
|
|
{
|
|
|
|
"name": "setup-java",
|
2021-03-15 18:39:46 +08:00
|
|
|
"version": "2.0.0",
|
2019-07-10 22:54:25 +08:00
|
|
|
"private": true,
|
|
|
|
"description": "setup java action",
|
2020-08-24 20:19:47 +08:00
|
|
|
"main": "dist/setup/index.js",
|
2019-07-10 22:54:25 +08:00
|
|
|
"scripts": {
|
2020-05-02 19:33:15 +08:00
|
|
|
"build": "ncc build -o dist/setup src/setup-java.ts && ncc build -o dist/cleanup src/cleanup-java.ts",
|
2021-03-15 18:39:46 +08:00
|
|
|
"format": "prettier --write \"{,!(node_modules)/**/}*.ts\"",
|
|
|
|
"format-check": "prettier --check \"{,!(node_modules)/**/}*.ts\"",
|
2019-12-20 00:52:26 +08:00
|
|
|
"prerelease": "npm run-script build",
|
2020-05-02 19:33:15 +08:00
|
|
|
"release": "git add -f dist/setup/index.js dist/cleanup/index.js",
|
2019-07-10 22:54:25 +08:00
|
|
|
"test": "jest"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/actions/setup-java.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"actions",
|
2021-03-15 18:39:46 +08:00
|
|
|
"java",
|
2019-07-10 22:54:25 +08:00
|
|
|
"setup"
|
|
|
|
],
|
|
|
|
"author": "GitHub",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2021-03-15 18:39:46 +08:00
|
|
|
"@actions/core": "^1.2.6",
|
|
|
|
"@actions/exec": "^1.0.4",
|
|
|
|
"@actions/http-client": "^1.0.9",
|
|
|
|
"@actions/io": "^1.0.2",
|
|
|
|
"@actions/tool-cache": "^1.6.1",
|
|
|
|
"semver": "^7.3.4",
|
|
|
|
"xmlbuilder2": "^2.4.0"
|
2019-07-10 22:54:25 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-15 18:39:46 +08:00
|
|
|
"@types/jest": "^26.0.20",
|
|
|
|
"@types/node": "^12.19.13",
|
|
|
|
"@types/semver": "^7.3.4",
|
2019-11-25 23:04:57 +08:00
|
|
|
"@zeit/ncc": "^0.20.5",
|
2021-03-15 18:39:46 +08:00
|
|
|
"jest": "^26.6.3",
|
|
|
|
"jest-circus": "^26.6.3",
|
2019-11-25 23:12:17 +08:00
|
|
|
"prettier": "^1.19.1",
|
2021-03-15 18:39:46 +08:00
|
|
|
"ts-jest": "^26.5.3",
|
|
|
|
"typescript": "^4.2.3"
|
2019-07-10 22:54:25 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"skipCI": true,
|
|
|
|
"hooks": {
|
2019-11-25 23:04:57 +08:00
|
|
|
"pre-commit": "npm run build && npm run format"
|
2019-07-10 22:54:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|