2019-08-04 09:49:54 +08:00
|
|
|
{
|
|
|
|
"name": "setup-node",
|
2023-10-23 21:20:20 +08:00
|
|
|
"version": "4.0.0",
|
2019-08-04 09:49:54 +08:00
|
|
|
"private": true,
|
|
|
|
"description": "setup node action",
|
|
|
|
"main": "lib/setup-node.js",
|
|
|
|
"scripts": {
|
2021-06-16 14:52:44 +08:00
|
|
|
"build": "ncc build -o dist/setup src/setup-node.ts && ncc build -o dist/cache-save src/cache-save.ts",
|
2023-04-03 18:46:05 +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",
|
2022-06-27 16:17:28 +08:00
|
|
|
"test": "jest --coverage",
|
2023-03-08 16:47:38 +08:00
|
|
|
"pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test"
|
2019-08-04 09:49:54 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/actions/setup-node.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"actions",
|
|
|
|
"node",
|
|
|
|
"setup"
|
|
|
|
],
|
|
|
|
"author": "GitHub",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2024-03-13 22:10:22 +08:00
|
|
|
"@actions/cache": "^3.2.4",
|
2022-10-13 18:11:08 +08:00
|
|
|
"@actions/core": "^1.10.0",
|
2021-06-16 14:52:44 +08:00
|
|
|
"@actions/exec": "^1.1.0",
|
2023-10-23 21:20:20 +08:00
|
|
|
"@actions/github": "^5.1.1",
|
|
|
|
"@actions/glob": "^0.4.0",
|
2024-03-13 22:10:22 +08:00
|
|
|
"@actions/http-client": "^2.2.1",
|
2020-01-27 23:37:12 +08:00
|
|
|
"@actions/io": "^1.0.2",
|
2023-10-23 21:20:20 +08:00
|
|
|
"@actions/tool-cache": "^2.0.1",
|
2024-10-21 00:39:07 +08:00
|
|
|
"ini": "^5.0.0",
|
2024-03-13 22:10:22 +08:00
|
|
|
"semver": "^7.6.0",
|
2023-10-23 21:20:20 +08:00
|
|
|
"uuid": "^9.0.1"
|
2019-08-04 09:49:54 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-03-13 22:10:22 +08:00
|
|
|
"@types/jest": "^29.5.12",
|
|
|
|
"@types/node": "^20.11.25",
|
|
|
|
"@types/semver": "^7.5.8",
|
2023-03-08 16:47:38 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
|
|
"@typescript-eslint/parser": "^5.54.0",
|
2023-10-19 16:40:59 +08:00
|
|
|
"@vercel/ncc": "^0.38.0",
|
2024-03-13 22:10:22 +08:00
|
|
|
"eslint": "^8.57.0",
|
2023-03-08 16:47:38 +08:00
|
|
|
"eslint-config-prettier": "^8.6.0",
|
2024-03-13 22:10:22 +08:00
|
|
|
"eslint-plugin-jest": "^27.9.0",
|
2023-05-23 17:58:21 +08:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2023-10-19 16:40:59 +08:00
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jest-circus": "^29.7.0",
|
|
|
|
"jest-each": "^29.7.0",
|
2023-03-08 16:47:38 +08:00
|
|
|
"prettier": "^2.8.4",
|
2024-03-13 22:10:22 +08:00
|
|
|
"ts-jest": "^29.1.2",
|
|
|
|
"typescript": "^5.4.2"
|
2019-08-04 09:49:54 +08:00
|
|
|
}
|
|
|
|
}
|