fix(): add build tsconfig & add main/types

This commit is contained in:
Morb0
2021-01-03 15:52:50 +03:00
parent e75415340b
commit 90cb548551
8 changed files with 11 additions and 12 deletions

View File

@@ -1,6 +1,8 @@
{
"name": "nestjs-telegraf",
"version": "2.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"description": "Telegraf module for NestJS",
"keywords": [
"nest",
@@ -25,7 +27,7 @@
],
"repository": "git@github.com:bukhalo/nestjs-telegraf.git",
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"precommit": "lint-staged",
"prepublish:npm": "npm run build",
"publish:npm": "npm publish --access public",