mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-17 09:11:11 +00:00
Use husky to manage deps (#7)
* Add husky * Update docs * Don't ignore node_modules
This commit is contained in:
parent
68c1f30223
commit
075e678472
4 changed files with 222 additions and 14 deletions
|
@ -32,10 +32,16 @@
|
|||
"@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": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue