Commit d23d8e54 authored by Wyatt Barnes's avatar Wyatt Barnes

Add ts declaration file generation

parent 672ff9f9
......@@ -12,13 +12,13 @@
"type": "module",
"main": "dist/plugin.js",
"module": "dist/plugin.mjs",
"types": "src/plugin.ts",
"types": "dist/plugin.d.ts",
"files": [
"dist/",
"src/"
],
"scripts": {
"build": "tsup",
"build": "tsup --dts",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"test": "vitest --coverage",
......
......@@ -9,7 +9,6 @@
"module": "esnext",
"moduleResolution": "Node",
"isolatedModules": true,
"incremental": true,
"allowUnreachableCode": false,
"skipLibCheck": 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