Commit d23d8e54 authored by Wyatt Barnes's avatar Wyatt Barnes

Add ts declaration file generation

parent 672ff9f9
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
"type": "module", "type": "module",
"main": "dist/plugin.js", "main": "dist/plugin.js",
"module": "dist/plugin.mjs", "module": "dist/plugin.mjs",
"types": "src/plugin.ts", "types": "dist/plugin.d.ts",
"files": [ "files": [
"dist/", "dist/",
"src/" "src/"
], ],
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --dts",
"lint": "prettier --check .", "lint": "prettier --check .",
"lint:fix": "prettier --write .", "lint:fix": "prettier --write .",
"test": "vitest --coverage", "test": "vitest --coverage",
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"module": "esnext", "module": "esnext",
"moduleResolution": "Node", "moduleResolution": "Node",
"isolatedModules": true, "isolatedModules": true,
"incremental": true,
"allowUnreachableCode": false, "allowUnreachableCode": false,
"skipLibCheck": false, "skipLibCheck": false,
"allowUnusedLabels": false, "allowUnusedLabels": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment