Skip to content

Commit

Permalink
chore: changes to build process
Browse files Browse the repository at this point in the history
Use tsc for generating types and generate source maps for better
debugging experience
  • Loading branch information
thetutlage committed Nov 6, 2023
1 parent 89042a3 commit 24cb052
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"type": "module",
"files": [
"build",
"!build/tests",
"!build/test_helpers",
"!build/bin",
"lodash"
],
"exports": {
Expand All @@ -30,7 +33,8 @@
"quick:test": "node --loader=ts-node/esm bin/test.ts",
"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 && npm run build:lodash",
"release": "np",
"version": "npm run build",
Expand Down Expand Up @@ -136,7 +140,8 @@
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}

0 comments on commit 24cb052

Please sign in to comment.