mirror of https://codeberg.org/pzp/pzp-sync.git
format code
This commit is contained in:
parent
1aac2f56a2
commit
b503476824
|
@ -25,5 +25,5 @@ function estimateMsgCount(range) {
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
isEmptyRange,
|
isEmptyRange,
|
||||||
estimateMsgCount
|
estimateMsgCount,
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
"bs58": "^5.0.0",
|
"bs58": "^5.0.0",
|
||||||
"c8": "7",
|
"c8": "7",
|
||||||
"ppppp-db": "github:staltz/ppppp-db",
|
"ppppp-db": "github:staltz/ppppp-db",
|
||||||
|
"prettier": "^2.6.2",
|
||||||
|
"pretty-quick": "^3.1.3",
|
||||||
"rimraf": "^4.4.0",
|
"rimraf": "^4.4.0",
|
||||||
"secret-stack": "^6.4.1",
|
"secret-stack": "^6.4.1",
|
||||||
"ssb-box": "^1.0.1",
|
"ssb-box": "^1.0.1",
|
||||||
|
@ -48,8 +50,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tape test/*.js | tap-arc --bail",
|
"test": "tape test/*.js | tap-arc --bail",
|
||||||
"format-code": "prettier --write \"*.js\" \"(test|compat|indexes|operators)/*.js\"",
|
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
|
||||||
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|compat|indexes|operators)/*.js\"",
|
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
|
||||||
"coverage": "c8 --reporter=lcov npm run test"
|
"coverage": "c8 --reporter=lcov npm run test"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
|
|
Loading…
Reference in New Issue