Add declaration files and point npm to dist.

This commit is contained in:
Carter Bertolini 2023-11-14 16:21:42 -05:00
parent 5450f48820
commit a8c4bcc333
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,8 @@
"name": "@finvis/usxi",
"version": "1.1.0",
"description": "",
"main": "index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"start": "node dist/index.js",
"build": "tsc",

View File

@ -1,7 +1,8 @@
{
"extends": "@tsconfig/node-lts/tsconfig.json",
"compilerOptions": {
"outDir": "dist"
"outDir": "dist",
"declaration": true,
},
"include": ["src"],
"exclude": ["node_modules"]