{
    "name": "@sconedev/ai_toolkit",
    "version": "1.0.33",
    "description": "Simplify AI integration in web apps with local and offline model support",
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "scripts": {
        "build": "tsc && npm run build:browser",
        "build:browser": "tsc -p tsconfig.browser.json",
        "test": "jest",
        "setup": "node scripts/setup.js",
        "features": "node scripts/feature-manager.js",
        "create-test-app": "node scripts/create-test-app.js",
        "postinstall": "node -e \"try { require('./scripts/postinstall.js') } catch (e) {}\""
    },
    "bin": {
        "aitoolkit-setup": "./scripts/setup.js",
        "aitoolkit-features": "./scripts/feature-manager.js"
    },
    "keywords": [
        "ai",
        "openai",
        "huggingface",
        "web",
        "toolkit",
        "pdf",
        "summarization",
        "onnx",
        "local-models",
        "offline-models"
    ],
    "author": "Devansh Verma",
    "license": "MIT",
    "files": [
        "dist",
        "scripts/postinstall.js",
        "scripts/setup.js",
        "scripts/feature-manager.js"
    ],
    "dependencies": {
        "@google/generative-ai": "^0.1.3",
        "@mistralai/mistralai": "^1.6.0",
        "onnxruntime-node": "^1.21.1",
        "onnxruntime-web": "^1.21.1",
        "inquirer": "^8.2.5",
        "lru-cache": "^7.0.0",
        "openai": "^4.0.0",
        "pdf-parse": "^1.1.1",
        "pdfjs-dist": "^4.0.189",
        "node-fetch": "^3.3.2"
    },
    "peerDependencies": {
        "onnxruntime-web": "^1.16.0 || ^1.17.0 || ^1.18.0 || ^1.19.0 || ^1.20.0 || ^1.21.0"
    },
    "optionalDependencies": {
        "onnxruntime-node-gpu": "^1.16.0"
    },
    "repository": {
        "type": "git",
        "url": "https://github.com/sconedev/ai_toolkit.git"
    },
    "engines": {
        "node": ">=16.0.0"
    },
    "devDependencies": {
        "@types/async-retry": "^1.4.9",
        "@types/jest": "^29.0.0",
        "@types/lru-cache": "^7.0.0",
        "@types/pdf-parse": "^1.1.5",
        "jest": "^29.7.0",
        "ts-jest": "^29.3.2",
        "typescript": "^5.0.4"
    },
    "browser": {
        "./dist/core/pdfSummarize.js": "./dist/core/pdfSummarize.browser.js",
        "./dist/index.js": "./dist/index.browser.js",
        "pdf-parse": false
    },
    "exports": {
        ".": {
            "import": {
                "node": "./dist/index.js",
                "browser": "./dist/index.browser.js",
                "default": "./dist/index.js"
            },
            "require": {
                "node": "./dist/index.js",
                "browser": "./dist/index.browser.js",
                "default": "./dist/index.js"
            }
        }
    }
}