{ "name": "@clevercloud/client", "version": "12.6.12", "description": "JavaScript REST client and utils for Clever Cloud's API", "keywords": [ "api", "clever-cloud", "client", "rest" ], "homepage": "https://github.com/CleverCloud/clever-client.js#readme", "bugs": { "url": "https://github.com/CleverCloud/clever-client.js/issues" }, "license": "Apache-2.0", "author": "Clever Cloud", "repository": { "type": "git", "url": "git+https://github.com/CleverCloud/clever-client.js.git" }, "files": [ "dist/" ], "type": "module", "sideEffects": false, "imports": { "#dom-parser": { "clever-client-source": { "node": "./src/lib/xml/dom-parser.node.ts", "default": "./src/lib/xml/dom-parser.browser.ts" }, "node": "./dist/src/lib/xml/dom-parser.node.js", "default": "./dist/src/lib/xml/dom-parser.browser.js" } }, "exports": { "./cc-client.js": { "types": "./dist/src/lib/index.d.ts", "default": "./dist/src/lib/index.js" }, "./cc-api-client.js": { "types": "./dist/src/clients/cc-api/cc-api-client.d.ts", "default": "./dist/src/clients/cc-api/cc-api-client.js" }, "./cc-api-commands/*.js": { "types": "./dist/src/clients/cc-api/commands/*.d.ts", "default": "./dist/src/clients/cc-api/commands/*.js" }, "./cc-api-local-storage-store.js": { "browser": { "types": "./dist/src/clients/cc-api/lib/store/local-storage-store.d.ts", "default": "./dist/src/clients/cc-api/lib/store/local-storage-store.js" } }, "./cc-api-file-store.js": { "node": { "types": "./dist/src/clients/cc-api/lib/store/file-store.d.ts", "default": "./dist/src/clients/cc-api/lib/store/file-store.js" } }, "./cc-api-bridge-client.js": { "types": "./dist/src/clients/cc-api-bridge/cc-api-bridge-client.d.ts", "default": "./dist/src/clients/cc-api-bridge/cc-api-bridge-client.js" }, "./cc-api-bridge-commands/*.js": { "types": "./dist/src/clients/cc-api-bridge/commands/*.d.ts", "default": "./dist/src/clients/cc-api-bridge/commands/*.js" }, "./redis-http-client.js": { "types": "./dist/src/clients/redis-http/redis-http-client.d.ts", "default": "./dist/src/clients/redis-http/redis-http-client.js" }, "./redis-http-commands/*.js": { "types": "./dist/src/clients/redis-http/commands/*.d.ts", "default": "./dist/src/clients/redis-http/commands/*.js" }, "./utils/*.js": { "types": "./dist/src/utils/*.d.ts", "default": "./dist/src/utils/*.js" }, "./esm/*.js": { "types": "./dist/esm/*.d.ts", "default": "./dist/esm/*.js" } }, "publishConfig": { "access": "public" }, "scripts": { "build": "node --experimental-strip-types tasks/clean-dist.ts && tsc -p tsconfig.build.json", "changeset": "changeset", "format": "oxfmt", "format:check": "oxfmt --check", "lint": "oxlint", "lint:fix": "oxlint --fix", "prepack": "pnpm run build", "release": "changeset publish", "test": "pnpm run test:unit", "test:e2e": "vitest run --project node-e2e --project browser-e2e", "test:e2e:browser": "vitest run --project browser-e2e", "test:e2e:node": "vitest run --project node-e2e", "test:unit": "vitest run --project node-unit --project browser-unit", "test:unit:browser": "vitest run --project browser-unit", "test:unit:browser:watch": "vitest --project browser-unit", "test:unit:node": "vitest run --project node-unit", "test:unit:node:watch": "vitest --project node-unit", "test:unit:watch": "vitest --project node-unit --project browser-unit", "typecheck": "tsc -p tsconfig.json", "check": "pnpm lint && pnpm format && pnpm typecheck && pnpm test" }, "dependencies": { "component-emitter": "^1.3.0", "fetch-event-stream": "^0.1.6" }, "devDependencies": { "@changesets/changelog-github": "^0.7.0", "@changesets/cli": "^3.0.3", "@clevercloud/doublure": "^0.0.5", "@commitlint/cli": "^21.2.4", "@commitlint/config-conventional": "^21.2.4", "@commitlint/types": "^21.2.3", "@types/component-emitter": "^1.2.14", "@types/eventsource": "^1.1.15", "@types/fs-extra": "^11.0.4", "@types/node": "^22.19.19", "@vitest/browser": "^5.1.0", "@vitest/browser-playwright": "^5.1.0", "@vitest/expect": "^5.1.0", "cheerio": "^1.1.2", "cookie": "^1.0.2", "eslint-plugin-perfectionist": "^5.13.0", "fs-extra": "^11.3.2", "http-proxy-3": "^1.23.3", "linkedom": "catalog:", "oxfmt": "^0.76.0", "oxlint": "^1.91.0", "oxlint-tsgolint": "^7.0.2006", "playwright": "^1.64.1", "totp-generator": "^2.0.0", "typescript": "^7.0.2", "vite": "^8.3.6", "vitest": "^5.1.0" }, "peerDependencies": { "eventsource": "^4.0.0", "linkedom": "catalog:" }, "peerDependenciesMeta": { "linkedom": { "optional": true } }, "engines": { "node": ">=22" } }