mirror of
https://github.com/sasjs/core.git
synced 2026-01-08 18:00:06 +00:00
feat: enabling sasjs lint as a git pre-commit hook when contributing to @sasjs/core. To use, just run
> ghooks@2.0.4 install /home/zah/git/core/node_modules/ghooks > node ./bin/module-install > @sasjs/core@1.0.0 postinstall /home/zah/git/core > node-git-hooks Installing Git hooks... added 14 packages from 12 contributors and audited 205 packages in 4.23s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities from the repository.
This commit is contained in:
1576
package-lock.json
generated
1576
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -31,7 +31,13 @@
|
||||
"docs": "sasjs doc && ./sasjs/utils/build.sh",
|
||||
"postinstall": "node-git-hooks"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-git-hooks": "^1.0.5"
|
||||
"devDependencies": {
|
||||
"@sasjs/cli": "^2.14.2",
|
||||
"ghooks": "^2.0.4"
|
||||
},
|
||||
"config": {
|
||||
"ghooks": {
|
||||
"pre-commit": "sasjs lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user