2019-08-20 22:27:52 +08:00
|
|
|
{
|
|
|
|
"name": "setup-python",
|
2022-06-02 22:37:57 +08:00
|
|
|
"version": "4.0.0",
|
2019-08-20 22:27:52 +08:00
|
|
|
"private": true,
|
|
|
|
"description": "Setup python action",
|
2019-11-06 05:58:50 +08:00
|
|
|
"main": "dist/index.js",
|
2019-08-20 22:27:52 +08:00
|
|
|
"scripts": {
|
2021-12-21 20:44:58 +08:00
|
|
|
"build": "ncc build -o dist/setup src/setup-python.ts && ncc build -o dist/cache-save src/cache-save.ts",
|
2023-04-03 18:46:57 +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",
|
2021-11-17 18:31:22 +08:00
|
|
|
"release": "ncc build -o dist/setup src/setup-python.ts && ncc build -o dist/cache-save src/cache-save.ts && git add -f dist/",
|
2022-06-28 21:17:50 +08:00
|
|
|
"test": "jest --coverage"
|
2019-08-20 22:27:52 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-09-25 04:03:43 +08:00
|
|
|
"url": "git+https://github.com/actions/setup-python.git"
|
2019-08-20 22:27:52 +08:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"actions",
|
|
|
|
"node",
|
|
|
|
"setup"
|
|
|
|
],
|
|
|
|
"author": "GitHub",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2022-09-13 23:04:29 +08:00
|
|
|
"@actions/cache": "^3.0.4",
|
2022-10-06 19:16:00 +08:00
|
|
|
"@actions/core": "^1.10.0",
|
2021-11-17 18:31:22 +08:00
|
|
|
"@actions/exec": "^1.1.0",
|
|
|
|
"@actions/glob": "^0.2.0",
|
2020-09-24 05:22:43 +08:00
|
|
|
"@actions/io": "^1.0.2",
|
|
|
|
"@actions/tool-cache": "^1.5.5",
|
2020-03-26 23:39:48 +08:00
|
|
|
"semver": "^7.1.3"
|
2019-08-20 22:27:52 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-05-22 16:41:59 +08:00
|
|
|
"@actions/http-client": "^2.1.0",
|
2021-10-13 20:18:42 +08:00
|
|
|
"@types/jest": "^27.0.2",
|
2022-02-25 19:12:36 +08:00
|
|
|
"@types/node": "^16.11.25",
|
2020-03-26 23:39:48 +08:00
|
|
|
"@types/semver": "^7.1.0",
|
2023-03-09 18:44:56 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
|
|
"@typescript-eslint/parser": "^5.54.0",
|
2022-05-31 18:56:29 +08:00
|
|
|
"@vercel/ncc": "^0.33.4",
|
2023-03-09 18:44:56 +08:00
|
|
|
"eslint": "^8.35.0",
|
|
|
|
"eslint-config-prettier": "^8.6.0",
|
|
|
|
"eslint-plugin-jest": "^27.2.1",
|
2023-05-22 16:41:59 +08:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-10-13 20:18:42 +08:00
|
|
|
"husky": "^7.0.2",
|
|
|
|
"jest": "^27.2.5",
|
|
|
|
"jest-circus": "^27.2.5",
|
2023-03-09 18:44:56 +08:00
|
|
|
"prettier": "^2.8.4",
|
2021-10-13 20:18:42 +08:00
|
|
|
"ts-jest": "^27.0.5",
|
2022-02-25 19:12:36 +08:00
|
|
|
"typescript": "^4.2.3"
|
2019-08-20 22:27:52 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"skipCI": true,
|
|
|
|
"hooks": {
|
2020-03-26 23:39:48 +08:00
|
|
|
"pre-commit": "npm run build && npm run format-check"
|
2019-08-20 22:27:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|