Skip to content

Commit

Permalink
chore: publish source maps and use tsc for generating types
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 23, 2023
1 parent c151b27 commit dd80390
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"type": "module",
"main": "build/index.js",
"files": [
"build"
"build",
"!build/bin",
"!build/tests",
"!build/tests_helpers"
],
"engines": {
"node": ">=18.16.0"
Expand All @@ -24,7 +27,9 @@
"quick:test": "node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
"clean": "del-cli build",
"copy:templates": "copyfiles --up 1 \"stubs/**/**/*.stub\" build",
"compile": "npm run lint && npm run clean && tsup-node && npm run copy:templates",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"postcompile": "npm run copy:templates",
"build": "npm run compile",
"release": "np",
"version": "npm run build",
Expand Down Expand Up @@ -116,13 +121,13 @@
"./index.ts",
"./services/main.ts",
"./providers/redis_provider.ts",
"./factories/main.ts",
"./src/types.ts"
"./factories/main.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}

0 comments on commit dd80390

Please sign in to comment.