51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "setup-node",
|
|
"version": "1.0.4",
|
|
"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": "file:toolkit/actions-core-0.0.0.tgz",
|
|
"@actions/exec": "file:toolkit/actions-exec-0.0.0.tgz",
|
|
"@actions/exit": "file:toolkit/actions-exit-0.0.0.tgz",
|
|
"@actions/io": "file:toolkit/actions-io-0.0.0.tgz",
|
|
"@actions/tool-cache": "file:toolkit/actions-tool-cache-0.0.0.tgz",
|
|
"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\""
|
|
}
|
|
}
|
|
}
|