Skip to content

Commit

Permalink
refactor: generate types using tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Harminder Virk authored and Harminder Virk committed Oct 20, 2023
1 parent 51d3a35 commit 04718f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"test": "cross-env NODE_DEBUG=adonisjs:bodyparser c8 npm run quick:test",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"compile": "npm run lint && npm run clean && tsup-node",
"compile": "npm run lint && npm run clean && tsup-node && npm run build:types",
"build:types": "tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"release": "np",
"version": "npm run build",
Expand Down Expand Up @@ -141,7 +142,7 @@
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"dts": false,
"target": "esnext"
}
}

0 comments on commit 04718f5

Please sign in to comment.