setup-java/package.json

53 lines
1.3 KiB
JSON
Raw Permalink Normal View History

2019-07-10 22:54:25 +08:00
{
"name": "setup-java",
"version": "2.0.0",
2019-07-10 22:54:25 +08:00
"private": true,
"description": "setup java action",
"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",
"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",
"java",
2019-07-10 22:54:25 +08:00
"setup"
],
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@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": {
"@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",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
2019-11-25 23:12:17 +08:00
"prettier": "^1.19.1",
"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
}
}
}