{
    "name": "@prezly/sdk",
    "version": "26.6.2",
    "description": "Prezly API SDK",
    "type": "module",
    "main": "dist/index.cjs",
    "module": "dist/index.js",
    "types": "dist/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/index.d.ts",
            "import": "./dist/index.js",
            "default": "./dist/index.cjs"
        }
    },
    "files": [
        "dist/**"
    ],
    "repository": {
        "type": "git",
        "url": "https://github.com/prezly/prezly.git",
        "directory": "apps/backend/packages/prezly-sdk"
    },
    "author": "Prezly Team <hello@prezly.com> (https://www.prezly.com)",
    "license": "MIT",
    "engines": {
        "node": ">=22"
    },
    "dependencies": {
        "@prezly/progress-promise": "^2.0.1",
        "@prezly/uploads": "^0.3.2",
        "query-string": "^6.14.1"
    },
    "devDependencies": {
        "@babel/cli": "^7.28.6",
        "@babel/core": "^7.28.6",
        "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
        "@babel/preset-env": "^7.28.6",
        "@babel/preset-typescript": "^7.28.5",
        "@biomejs/biome": "^2.2.4",
        "@prezly/biome-config": "^1.0.1",
        "@types/node": "^20.10.4",
        "babel-plugin-add-import-extension": "^1.6.0",
        "babel-plugin-transform-inline-environment-variables": "^0.4.4",
        "cross-env": "^7.0.3",
        "np": "^9.2.0",
        "rimraf": "^3.0.0",
        "typescript": "7.0.2",
        "vitest": "^3.2.7",
        "vitest-fetch-mock": "^0.4.5"
    },
    "scripts": {
        "clean": "rimraf dist",
        "clean:all": "rimraf dist node_modules",
        "build": "pnpm run build:types && pnpm run build:es && pnpm run build:cjs",
        "build:fresh": "pnpm run clean:all && pnpm install && pnpm run build",
        "build:types": "tsc --project .",
        "build:es": "babel ./src --ignore='**/*.test.ts' --config-file=./babel.config.json --extensions=.ts,.cts --source-root=./src --out-dir=./dist",
        "build:cjs": "babel ./src --ignore='**/*.test.ts' --config-file=./babel.config.cjs.json --extensions=.ts,.cts --source-root=./src --out-dir=./dist --out-file-extension .cjs",
        "watch": "tsc --watch --preserveWatchOutput --project .",
        "start": "pnpm run build --incremental --watch",
        "lint": "biome ci",
        "lint:fix": "biome lint --write",
        "test": "pnpm run test:build && pnpm run test:unit",
        "test:unit": "vitest run",
        "test:build": "node dist/index.js && tsc --ignoreConfig --noEmit --types node --target es2015 --skipLibCheck dist/index.d.ts",
        "pack:dry-run": "npm pack --dry-run --json",
        "test:package": "pnpm run build && pnpm run pack:dry-run",
        "format:check": "biome format",
        "format": "biome format --write",
        "prerelease": "pnpm run build",
        "release": "np"
    },
    "np": {
        "yarn": false
    }
}
