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": {
|
2023-11-28 21:50:26 +08:00
|
|
|
"@actions/cache": "^3.2.2",
|
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",
|
|
|
|
"@actions/http-client": "^2.1.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",
|
|
|
|
"semver": "^7.5.4",
|
|
|
|
"uuid": "^9.0.1"
|
2019-08-04 09:49:54 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-23 21:20:20 +08:00
|
|
|
"@types/jest": "^29.5.5",
|
|
|
|
"@types/node": "^20.8.2",
|
|
|
|
"@types/semver": "^7.5.3",
|
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",
|
2023-03-08 16:47:38 +08:00
|
|
|
"eslint": "^8.35.0",
|
|
|
|
"eslint-config-prettier": "^8.6.0",
|
|
|
|
"eslint-plugin-jest": "^27.2.1",
|
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",
|
2023-10-19 16:40:59 +08:00
|
|
|
"ts-jest": "^29.1.1",
|
2023-10-23 21:20:20 +08:00
|
|
|
"typescript": "^5.2.2"
|
2019-08-04 09:49:54 +08:00
|
|
|
}
|
|
|
|
}
|