Publish src code in the npm package

This commit is contained in:
Adria Navarro 2023-09-06 12:04:04 +02:00
parent a4dca543a4
commit 43713e1db5
2 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,6 @@
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
!package.json
!package.json
!src/**
!tests/**

View File

@ -4,13 +4,6 @@
"description": "Budibase backend core libraries used in server and worker",
"main": "dist/index.js",
"types": "dist/src/index.d.ts",
"typesVersions": {
"*": {
"tests": [
"./dist/tests/index.d.ts"
]
}
},
"exports": {
".": "./dist/index.js",
"./tests": "./dist/tests/index.js",