diff --git a/eslint.config.mts b/eslint.config.mts index e6ed121..04b1f21 100644 --- a/eslint.config.mts +++ b/eslint.config.mts @@ -25,7 +25,7 @@ export default defineConfig( name: 'vue-ts-types/ignore-dist', ignores: ['dist'], }, - eslintPluginPackageJson.configs.recommended, + eslintPluginPackageJson.configs['recommended-publishable'], eslintPluginPackageJson.configs.stylistic, { files: ['**/*.ts', '**/*.mts'], diff --git a/package.json b/package.json index f3361f9..9d7eed2 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,15 @@ }, "license": "MIT", "author": "Flo Edelmann", + "sideEffects": false, "type": "commonjs", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [