diff --git a/package.json b/package.json index 44b4a7a..9f64cfd 100644 --- a/package.json +++ b/package.json @@ -24,28 +24,27 @@ "bugs": { "url": "https://github.com/corbitsdev/corbits-artifacts/issues" }, + "publishConfig": { + "access": "public" + }, "corbits": { "minimumIntxVersion": "0.4.0" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", + "sideEffects": false, "exports": { ".": { - "bun": "./src/index.ts", "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./sidecar-bundle": { - "bun": "./src/sidecar-bundle.ts", "types": "./dist/sidecar-bundle.d.ts", "default": "./dist/sidecar-bundle.js" } }, "files": [ "dist", - "src", - "!src/**/*.test.ts", - "!src/test-helpers.ts", "LICENSE", "README.md" ], diff --git a/tsconfig.build.json b/tsconfig.build.json index 9edd877..a8a6531 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,10 +2,14 @@ "extends": "./tsconfig.json", "compilerOptions": { "types": ["node"], + "module": "NodeNext", + "moduleResolution": "NodeNext", + "allowImportingTsExtensions": false, + "composite": false, "noEmit": false, "declaration": true, - "declarationMap": true, - "sourceMap": true, + "declarationMap": false, + "sourceMap": false, "outDir": "dist", "rootDir": "src" },