Add types when publishing

This commit is contained in:
Jacob Karlsson 2024-05-16 17:08:59 +02:00
parent 18ae339f48
commit 6c0233a097
1 changed files with 5 additions and 1 deletions

View File

@ -43,9 +43,13 @@
"rimraf": "^4.4.0",
"secret-handshake-ext": "~0.0.11",
"secret-stack": "~8.1.0",
"ssb-box": "^1.0.1"
"ssb-box": "^1.0.1",
"typescript": "^5.4.5"
},
"scripts": {
"clean-check": "tsc --build --clean",
"prepublishOnly": "npm run clean-check && tsc --build",
"postpublish": "npm run clean-check",
"test": "node --test",
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",