refactor: cleanup package.json
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 2 Jan 2024 18:11:35 +0000 (19:11 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 2 Jan 2024 18:11:35 +0000 (19:11 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
package.json

index fd1ac9c9d3398768b78f0cba3581611c9f974c41..65e47af9eef8e7fde11dcae55b58e8788a784f1d 100644 (file)
@@ -6,6 +6,7 @@
   "license": "MIT",
   "type": "module",
   "main": "./lib/index.cjs",
+  "types": "./lib/index.d.ts",
   "exports": {
     ".": {
       "types": "./lib/index.d.ts",
@@ -13,7 +14,6 @@
       "import": "./lib/index.mjs"
     }
   },
-  "types": "./lib/index.d.ts",
   "scripts": {
     "preinstall": "npx --yes only-allow pnpm",
     "prepare": "node prepare.mjs",