Add types when publishing
This commit is contained in:
parent
18ae339f48
commit
6c0233a097
|
@ -43,9 +43,13 @@
|
||||||
"rimraf": "^4.4.0",
|
"rimraf": "^4.4.0",
|
||||||
"secret-handshake-ext": "~0.0.11",
|
"secret-handshake-ext": "~0.0.11",
|
||||||
"secret-stack": "~8.1.0",
|
"secret-stack": "~8.1.0",
|
||||||
"ssb-box": "^1.0.1"
|
"ssb-box": "^1.0.1",
|
||||||
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"clean-check": "tsc --build --clean",
|
||||||
|
"prepublishOnly": "npm run clean-check && tsc --build",
|
||||||
|
"postpublish": "npm run clean-check",
|
||||||
"test": "node --test",
|
"test": "node --test",
|
||||||
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
|
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
|
||||||
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
|
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
|
||||||
|
|
Loading…
Reference in New Issue