{
  "name": "@configcat/sdk",
  "version": "1.0.2",
  "description": "ConfigCat is a configuration as a service that lets you manage your features and configurations without actually deploying new code.",
  "main": "lib/cjs/node/index.main.js",
  "types": "lib/cjs/node/index.main.d.ts",
  "browser": "lib/cjs/browser/index.main.js",
  "react-native": "lib/cjs/browser/index.main.js",
  "exports": {
    ".": {
      "types": {
        "bun": "./lib/esm/bun/index.d.ts",
        "deno": "./lib/esm/deno/index.d.ts",
        "workerd": "./lib/esm/cloudflare-worker/index.d.ts",
        "react-native": "./lib/esm/browser/index.main.d.ts",
        "browser": "./lib/esm/browser/index.main.d.ts",
        "import": "./lib/esm/node/index.main.d.ts",
        "require": "./lib/cjs/node/index.main.d.ts"
      },
      "bun": "./lib/esm/bun/index.js",
      "deno": "./lib/esm/deno/index.js",
      "workerd": "./lib/esm/cloudflare-worker/index.js",
      "react-native": "./lib/esm/browser/index.main.js",
      "browser": "./lib/esm/browser/index.main.js",
      "import": "./lib/esm/node/index.main.js",
      "require": "./lib/cjs/node/index.main.js"
    },
    "./browser": {
      "types": "./lib/esm/browser/index.d.ts",
      "import": "./lib/esm/browser/index.js"
    },
    "./bun": {
      "types": "./lib/esm/bun/index.d.ts",
      "import": "./lib/esm/bun/index.js"
    },
    "./chromium-extension": {
      "types": "./lib/esm/chromium-extension/index.d.ts",
      "import": "./lib/esm/chromium-extension/index.js"
    },
    "./cloudflare-worker": {
      "types": "./lib/esm/cloudflare-worker/index.d.ts",
      "import": "./lib/esm/cloudflare-worker/index.js"
    },
    "./deno": {
      "types": "./lib/esm/deno/index.d.ts",
      "deno": "./lib/esm/deno/index.js"
    },
    "./node": {
      "types": {
        "import": "./lib/esm/node/index.d.ts",
        "require": "./lib/cjs/node/index.d.ts"
      },
      "import": "./lib/esm/node/index.js",
      "require": "./lib/cjs/node/index.js"
    },
    "./lib/*": "./lib/*",
    "./package.json": "./package.json"
  },
  "imports": {
    "#lib/browser": {
      "import": "./lib/esm/browser/index.js"
    },
    "#lib/bun": {
      "import": "./lib/esm/bun/index.js"
    },
    "#lib/chromium-extension": {
      "import": "./lib/esm/chromium-extension/index.js"
    },
    "#lib/cloudflare-worker": {
      "import": "./lib/esm/cloudflare-worker/index.js"
    },
    "#lib/node": {
      "require": "./lib/cjs/node/index.js"
    },
    "#lib": {
      "import": "./lib/esm/index.js",
      "require": "./lib/cjs/index.js"
    },
    "#lib/*": {
      "import": "./lib/esm/*.js",
      "require": "./lib/cjs/*.js"
    }
  },
  "scripts": {
    "build": "gulp",
    "check:ts-compat": "npm --prefix extra-checks/ts-compat-check run check",
    "coverage:browser": "cross-env TEST_BROWSER_COVERAGE=true npm run test:browser:chrome",
    "coverage:chromium-extension": "cross-env TEST_CHROMIUM_EXTENSION_COVERAGE=true npm run test:chromium-extension:chrome",
    "coverage:node": "nyc --include 'src/**' --include 'lib/cjs/**' --exclude 'lib/cjs/**/*.d.ts' --source-map --relative=true --report-dir coverage/node npm run test:node",
    "coverage": "npm run build && npm run coverage:node && npm run coverage:browser && npm run coverage:chromium-extension && lcov-result-merger './coverage/*/**/lcov.info' './coverage/lcov.info'",
    "lint:fix": "eslint . --fix",
    "lint": "eslint .",
    "prepare": "npm run build -- --for-publish",
    "pretest": "npm run build",
    "test:browser:chrome": "karma start karma.browser.chrome.conf.js",
    "test:browser:chromium": "karma start karma.browser.chromium.conf.js",
    "test:browser:firefox": "karma start karma.browser.firefox.conf.js",
    "test:browser:safari": "karma start karma.browser.safari.conf.js",
    "test:bun": "bun --tsconfig-override ./tsconfig.mocha.bun.json ./node_modules/mocha/bin/mocha.js test/bun/index.ts --timeout 30000",
    "test:chromium-extension:chrome": "karma start karma.chromium-extension.chrome.conf.js",
    "test:chromium-extension:chromium": "karma start karma.chromium-extension.chromium.conf.js",
    "test:cloudflare-worker": "webpack -c webpack.workerd.cloudflare-worker.config.js && concurrently --raw --success command-1 --kill-others \"node test/cloudflare-worker/test-run-helper/server.mjs\" \"workerd test workerd.config.capnp\"",
    "test:deno": "node deno.import-map.generator.js && node deno.set-env.js deno run $DENO_NODE_MODULES_DIR -A test/deno/index.ts --timeout 30000",
    "test:node": "cross-env NODE_EXTRA_CA_CERTS=./test/node/cert/testCA.pem TS_NODE_PROJECT=./tsconfig.mocha.node.json node --expose-gc --require ts-node/register node_modules/mocha/bin/_mocha 'test/node/index.ts' --exit --timeout 30000",
    "test": "npm run check:ts-compat && npm run test:browser:chrome && npm run test:chromium-extension:chrome && npm run test:cloudflare-worker && npm run test:bun && npm run test:deno && npm run test:node"
  },
  "keywords": [
    "configcat",
    "config",
    "configuration",
    "remote configuration",
    "configcat client",
    "feature flags",
    "feature toggle",
    "feature switch",
    "canary release",
    "soft launch",
    "release strategy"
  ],
  "author": "ConfigCat",
  "license": "MIT",
  "homepage": "https://configcat.com",
  "devDependencies": {
    "@babel/preset-env": "^7.28.0",
    "@cloudflare/workers-types": "^4.20241106.0",
    "@stylistic/eslint-plugin": "^4.4.1",
    "@types/bun": "^1.1.13",
    "@types/chai": "~4.3.4",
    "@types/chrome": "~0.0.270",
    "@types/deno": "^2.0.0",
    "@types/mocha": "~10.0.1",
    "@types/node": "~18.19.7",
    "babel-loader": "^10.0.0",
    "chai": "^4.5.0",
    "concurrently": "^9.2.0",
    "core-js": "^3.38.1",
    "coverage-istanbul-loader": "^3.0.5",
    "cross-env": "^7.0.3",
    "eslint": "^9.28.0",
    "eslint-plugin-import": "^2.31.0",
    "fetch-mock": "^11.1.5",
    "glob": "^11.0.3",
    "globals": "^16.3.0",
    "gulp": "^5.0.1",
    "karma": "^6.4.4",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^3.1.1",
    "karma-cli": "^2.0.0",
    "karma-coverage": "^2.2.0",
    "karma-coverage-istanbul-reporter": "^3.0.3",
    "karma-firefox-launcher": "^2.1.2",
    "karma-mocha": "^2.0.1",
    "karma-safarinative-launcher": "^1.1.0",
    "karma-sourcemap-loader": "^0.4.0",
    "karma-webpack": "5.0.0",
    "lcov-result-merger": "^5.0.1",
    "mocha": "^10.8.2",
    "mock-xmlhttprequest": "^8.4.1",
    "mockttp": "^3.17.1",
    "moq.ts": "^7.4.1",
    "nyc": "^17.1.0",
    "ts-loader": "^9.5.2",
    "ts-node": "^10.9.2",
    "tsconfig-paths-webpack-plugin": "^4.2.0",
    "tslib": "^2.7.0",
    "typescript": "^5.9.2",
    "typescript-eslint": "^8.34.0",
    "webpack": "^5.94.0",
    "webpack-cli": "^5.1.4",
    "workerd": "^1.20241112.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/configcat/js-unified-sdk"
  },
  "nyc": {
    "extension": [
      ".ts"
    ],
    "reporter": [
      "text-summary",
      "json",
      "lcov"
    ],
    "all": true,
    "include": [
      "src"
    ]
  },
  "sideEffects": false
}
