diff --git a/package.json b/package.json index 4ee4e5d..d468a9d 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,53 @@ ], "license": "MIT", "homepage": "https://github.com/soybeanjs/elegant-router", + "repository": { + "url": "https://github.com/mufeng889/react-soybean-admin.git" + }, + "bugs": { + "url": "https://github.com/mufeng889/react-soybean-admin/issues" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, + "sideEffects": false, + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "./vite": { + "types": "./dist/vite.d.ts", + "import": "./dist/vite.mjs", + "require": "./dist/vite.cjs" + }, + "./webpack": { + "types": "./dist/webpack.d.ts", + "import": "./dist/webpack.mjs", + "require": "./dist/webpack.cjs" + }, + "./rollup": { + "types": "./dist/rollup.d.ts", + "import": "./dist/rollup.mjs", + "require": "./dist/rollup.cjs" + }, + "./esbuild": { + "types": "./dist/esbuild.d.ts", + "import": "./dist/esbuild.mjs", + "require": "./dist/esbuild.cjs" + }, + "./*": "./*" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts", + "typesVersions": { + "*": { + "*": ["./dist/*", "./*"] + } + }, + "files": ["dist"], "scripts": { "dev": "vite", "build": "pnpm typecheck && pnpm unbuild",