2019-06-25 03:05:39 +08:00
|
|
|
{
|
|
|
|
"name": "setup-go",
|
2023-03-10 23:25:35 +08:00
|
|
|
"version": "4.0.0",
|
2019-06-25 03:05:39 +08:00
|
|
|
"private": true,
|
|
|
|
"description": "setup go action",
|
|
|
|
"main": "lib/setup-go.js",
|
|
|
|
"scripts": {
|
2022-05-25 18:07:29 +08:00
|
|
|
"build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts",
|
2023-04-03 18:46:31 +08:00
|
|
|
"format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write \"**/*.{ts,yml,yaml}\"",
|
|
|
|
"format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check \"**/*.{ts,yml,yaml}\"",
|
|
|
|
"lint": "eslint --config ./.eslintrc.js \"**/*.ts\"",
|
|
|
|
"lint:fix": "eslint --config ./.eslintrc.js \"**/*.ts\" --fix",
|
2020-02-10 07:09:15 +08:00
|
|
|
"test": "jest --coverage",
|
2023-03-08 16:45:16 +08:00
|
|
|
"pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test"
|
2019-06-25 03:05:39 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/actions/setup-go.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"actions",
|
|
|
|
"go",
|
|
|
|
"setup"
|
|
|
|
],
|
|
|
|
"author": "GitHub",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2023-05-08 17:42:39 +08:00
|
|
|
"@actions/cache": "^3.2.1",
|
2022-10-06 19:08:35 +08:00
|
|
|
"@actions/core": "^1.10.0",
|
2022-05-25 18:07:29 +08:00
|
|
|
"@actions/exec": "^1.1.0",
|
|
|
|
"@actions/glob": "^0.2.0",
|
2022-06-28 20:17:12 +08:00
|
|
|
"@actions/http-client": "^2.0.1",
|
2020-03-27 00:40:41 +08:00
|
|
|
"@actions/io": "^1.0.2",
|
2020-06-29 23:41:13 +08:00
|
|
|
"@actions/tool-cache": "^1.5.5",
|
2023-05-23 17:42:25 +08:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2019-06-25 03:05:39 +08:00
|
|
|
"semver": "^6.1.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-10-13 23:48:38 +08:00
|
|
|
"@types/jest": "^27.0.2",
|
2022-02-24 20:07:22 +08:00
|
|
|
"@types/node": "^16.11.25",
|
2019-06-25 03:05:39 +08:00
|
|
|
"@types/semver": "^6.0.0",
|
2023-03-08 16:45:16 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
|
|
"@typescript-eslint/parser": "^5.54.0",
|
2022-05-12 18:04:41 +08:00
|
|
|
"@vercel/ncc": "^0.33.4",
|
2023-03-08 16:45:16 +08:00
|
|
|
"eslint": "^8.35.0",
|
|
|
|
"eslint-config-prettier": "^8.6.0",
|
|
|
|
"eslint-plugin-jest": "^27.2.1",
|
2021-10-13 23:48:38 +08:00
|
|
|
"jest": "^27.2.5",
|
|
|
|
"jest-circus": "^27.2.5",
|
2019-08-19 20:28:37 +08:00
|
|
|
"nock": "^10.0.6",
|
2023-03-08 16:45:16 +08:00
|
|
|
"prettier": "^2.8.4",
|
2021-08-31 22:44:51 +08:00
|
|
|
"ts-jest": "^27.0.5",
|
2022-12-12 17:58:49 +08:00
|
|
|
"typescript": "^4.3.3"
|
2019-06-25 03:05:39 +08:00
|
|
|
}
|
|
|
|
}
|