Resolve "Setup NPM package stuff" #33

Merged
clbertolini merged 3 commits from 16-setup-npm-package-stuff into main 2023-11-14 21:24:30 +00:00
3 changed files with 8 additions and 3 deletions

3
.npmignore Normal file
View File

@ -0,0 +1,3 @@
node_modules/**
docs/**
.env

View File

@ -1,8 +1,9 @@
{
"name": "@finvis/usxi",
"version": "1.1.0",
"version": "1.2.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"]