diff --git a/package.json b/package.json index 8ee5481..fac987a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "build/index.js", "type": "module", "files": [ - "build" + "build", + "!build/bin", + "!build/tests" ], "exports": { ".": "./build/index.js", @@ -20,7 +22,8 @@ "test": "cross-env NODE_DEBUG=adonisjs:logger c8 npm run vscode:test", "clean": "del-cli build", "typecheck": "tsc --noEmit", - "compile": "npm run lint && npm run clean && tsup-node", + "precompile": "npm run lint && npm run clean ", + "compile": "tsup-node && tsc --emitDeclarationOnly --declaration", "build": "npm run compile", "release": "np", "version": "npm run build", @@ -111,7 +114,8 @@ "outDir": "./build", "clean": true, "format": "esm", - "dts": true, + "dts": false, + "sourcemap": true, "target": "esnext" } }