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 6, 2023
1 parent 0b40707 commit ad511bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
File renamed without changes.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"main": "build/index.js",
"type": "module",
"files": [
"build"
"build",
"!build/bin",
"!build/examples",
"!build/tests"
],
"exports": {
".": "./build/index.js",
Expand All @@ -19,7 +22,8 @@
"test": "c8 npm run quick: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",
Expand Down Expand Up @@ -108,7 +112,8 @@
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}

0 comments on commit ad511bf

Please sign in to comment.