diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..6c59086 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +enable-pre-post-scripts=true diff --git a/package.json b/package.json index fcaeb82..047a930 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "scripts": { "prebuild": "rimraf dist", "build": "tsc --strict", - "prepublishOnly": "yarn build", + "prepublishOnly": "npm run build", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" && tsc --noEmit", "test": "jest --verbose --env=node", "test:cov": "jest --coverage --verbose --env=node", diff --git a/tsconfig.json b/tsconfig.json index 4bba11e..87c78fb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,8 +14,8 @@ "moduleResolution": "Node", "strict": true, "sourceMap": true, - "incremental": true, - "removeComments": true, + "declaration": true, + "declarationDir": "dist", "target": "ES2021", "outDir": "dist", "baseUrl": "src",