mirror of
https://github.com/actions/setup-node.git
synced 2024-11-23 09:16:13 +08:00
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "setup-node",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "setup node action",
|
|
"main": "lib/setup-node.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-node.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"setup"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.0.0",
|
|
"@actions/github": "^1.0.0",
|
|
"@actions/io": "^1.0.0",
|
|
"@actions/tool-cache": "^1.0.0",
|
|
"typed-rest-client": "^1.5.0",
|
|
"semver": "^6.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.13",
|
|
"@types/node": "^12.0.4",
|
|
"@types/semver": "^6.0.0",
|
|
"husky": "^2.3.0",
|
|
"jest": "^24.8.0",
|
|
"jest-circus": "^24.7.1",
|
|
"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\""
|
|
}
|
|
}
|
|
}
|