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

@ -2,3 +2,5 @@
!dist/**/* !dist/**/*
dist/tsconfig.build.tsbuildinfo 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", "description": "Budibase backend core libraries used in server and worker",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
"typesVersions": {
"*": {
"tests": [
"./dist/tests/index.d.ts"
]
}
},
"exports": { "exports": {
".": "./dist/index.js", ".": "./dist/index.js",
"./tests": "./dist/tests/index.js", "./tests": "./dist/tests/index.js",