mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-14 16:15:39 +01:00
632d18fc92
* get latest release for .x syntax version * added nock as dev dependency * added test for .x syntax * updated readme * updated http client name * use rest client for getting available versions * more .x handling * move nock to setup and teardown
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "setup-go",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "setup go action",
|
|
"main": "lib/setup-go.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-go.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"go",
|
|
"setup"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.0.0",
|
|
"@actions/tool-cache": "^1.0.0",
|
|
"semver": "^6.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/io": "^1.0.0",
|
|
"@types/jest": "^24.0.13",
|
|
"@types/nock": "^10.0.3",
|
|
"@types/node": "^12.0.4",
|
|
"@types/semver": "^6.0.0",
|
|
"husky": "^2.3.0",
|
|
"jest": "^24.8.0",
|
|
"jest-circus": "^24.7.1",
|
|
"nock": "^10.0.6",
|
|
"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\""
|
|
}
|
|
}
|
|
}
|