mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
fix pre-commit hook
This commit is contained in:
parent
cc2f7de9d3
commit
a1d06d323b
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname $0)/_/husky.sh"
|
||||
|
||||
npm run format
|
||||
node_modules/.bin/git-format-staged -f 'npm run format' .
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -13977,6 +13977,12 @@
|
||||
"promise": "^7.1.1"
|
||||
}
|
||||
},
|
||||
"git-format-staged": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/git-format-staged/-/git-format-staged-2.1.1.tgz",
|
||||
"integrity": "sha512-Db4QiAymao9BfpTBCdEcF53jBZfKuwIigqhNmtODD+KOKbxrdDVMDeAs+P7eqJl9udlBZejhRKRbyFRtKLbVmA==",
|
||||
"dev": true
|
||||
},
|
||||
"git-up": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.2.tgz",
|
||||
|
@ -69,6 +69,7 @@
|
||||
"eslint-config-oceanprotocol": "^1.5.0",
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"git-format-staged": "^2.1.1",
|
||||
"husky": "^5.0.6",
|
||||
"markdownlint-cli": "^0.26.0",
|
||||
"node-sass": "^5.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user