Improved pre-commit and pre-publish workflows

Installed `npm` package now has `types` directory and doesn't have `src` directory
This commit is contained in:
sanex
2021-08-06 00:00:47 +03:00
parent 6e1ce07b5e
commit 0306f29ba8
13 changed files with 60 additions and 150 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"extends": "./tsconfig.node.json",
"compilerOptions": {
"outDir": "../types",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": [
"../src",
"../index.ts"
]
}