feat: cleanup plugins

This commit is contained in:
Johannes Millan 2025-06-29 06:19:39 +02:00
parent 62d2b0334f
commit 0145f28d50
12 changed files with 69 additions and 354 deletions

View file

@ -2,12 +2,12 @@
"name": "@super-productivity/plugin-api",
"version": "1.0.0",
"description": "TypeScript definitions for Super Productivity plugin development",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"prepublishOnly": "npm run build"
"build": "tsc --emitDeclarationOnly",
"build:watch": "tsc --emitDeclarationOnly --watch",
"typecheck": "tsc --noEmit"
},
"keywords": [
"super-productivity",
@ -29,7 +29,7 @@
},
"homepage": "https://github.com/johannesjo/super-productivity#readme",
"files": [
"dist/**/*",
"src/**/*.ts",
"README.md",
"LICENSE"
],

View file

@ -5,6 +5,7 @@
"lib": ["ES2020", "DOM"],
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
@ -13,7 +14,8 @@
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"noEmitOnError": true
"noEmitOnError": true,
"noEmit": false
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]