UNPKG

openrouter-model-picker

Version:

Third-party React component for OpenRouter model selection

84 lines (83 loc) 2.61 kB
{ "name": "openrouter-model-picker", "version": "1.1.1", "description": "Third-party React component for OpenRouter model selection", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist/", "src/", "scripts/", "index.html", "README.md", "tsconfig.build.json", "vite.config.ts" ], "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "./styles": { "import": "./dist/style.css", "require": "./dist/style.css", "types": "./dist/styles.d.ts" }, "./dist/style.css": "./dist/style.css" }, "scripts": { "dev": "vite", "build": "vite build && tsc -p tsconfig.build.json --skipLibCheck && node scripts/copy-styles.js", "build-demo": "vite build --mode demo --outDir demo-dist", "preview": "vite preview", "preview-demo": "npm run build-demo:local && npx serve demo-dist-local", "build-demo:local": "vite build --mode demo-local", "demo": "echo '🎮 Demo Options:' && echo '' && echo '🌐 Live Demo: https://dannyshmueli.github.io/openrouter-model-picker/' && echo '' && echo '🚀 Run Locally:' && echo '1. Clone: git clone https://github.com/dannyshmueli/openrouter-model-picker' && echo '2. Install: npm install' && echo '3. Run: npm run dev'", "type-check": "tsc --noEmit", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "prepublishOnly": "npm run build" }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" }, "devDependencies": { "@types/node": "^24.0.12", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "@vitejs/plugin-react": "^4.2.1", "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "typescript": "^5.2.2", "vite": "^5.2.0" }, "dependencies": { "lucide-react": "^0.263.1" }, "keywords": [ "react", "openrouter", "llm", "llm-model-picker", "ai", "model-selection", "modal", "component", "typescript" ], "author": "Danny Shmueli", "license": "MIT", "homepage": "https://github.com/dannyshmueli/openrouter-model-picker#readme", "repository": { "type": "git", "url": "git+https://github.com/dannyshmueli/openrouter-model-picker.git" }, "bugs": { "url": "https://github.com/dannyshmueli/openrouter-model-picker/issues" } }