{
  "name": "dc-delivery-sdk-js",
  "version": "1.4.0",
  "description": "Amplience Dynamic Content Delivery SDK",
  "main": "build/main/index.js",
  "typings": "build/main/index.d.ts",
  "module": "build/module/index.js",
  "browser": "dist/dynamicContent.browser.umd.min.js",
  "repository": "https://github.com/amplience/dc-delivery-sdk-js",
  "license": "Apache-2.0",
  "keywords": [],
  "scripts": {
    "describe": "npm-scripts-info",
    "build": "run-s clean && run-s build-ts && run-s build-dist",
    "build-ts": "run-p build-ts:*",
    "build-ts:main": "tsc -p tsconfig.json",
    "build-ts:module": "tsc -p tsconfig.module.json",
    "build-ts:spec": "tsc -p tsconfig.spec.json",
    "build-dist": "run-p build-dist:*",
    "build-dist:dev": "NODE_ENV=development webpack",
    "build-dist:prod": "NODE_ENV=production webpack",
    "test": "run-s build test-lint test-node test-e2e",
    "test-lint": "eslint \"src/**/*.ts\" && prettier \"src/**/*.ts\" --list-different",
    "fix": "eslint \"src/**/*.ts\" --fix && prettier \"src/**/*.{ts,js,json}\"  --write",
    "test-node": "NODE_OPTIONS=--max-old-space-size=8192 nyc --silent mocha 'build/main/**/*.spec.js'",
    "test-typescript": "NODE_OPTIONS=--max-old-space-size=8192 ts-mocha \"src/**/*.spec.ts\"",
    "test-node:debug": "nyc --silent mocha --inspect 'build/main/**/*.spec.js'",
    "test-browser-local": "node ./node_modules/karma/bin/karma start karma.local.conf.js --single-run",
    "test-e2e": "ts-node e2e-tests.ts -p tsconfig.e2e-tests.json",
    "watch": "run-s clean build-ts && run-p \"build-ts:main -- -w\" \"build-ts:spec -- -w\" \"test-node -- --watch\"",
    "watch:debug": "run-s clean build-ts && run-p \"build-ts:main -- -w\" \"build-ts:spec -- -w\" \"test-node:debug -- --watch\"",
    "cov": "run-s build-ts test-node cov:html && opn coverage/index.html",
    "cov:html": "nyc report --reporter=html",
    "cov:send": "nyc report --reporter=lcov > coverage.lcov && codecov",
    "cov:check": "nyc report --reporter=lcov && nyc check-coverage --lines 80 --functions 80 --branches 80",
    "doc": "run-s doc:html && open build/docs/index.html",
    "doc:html": "typedoc src/ --exclude **/*.spec.ts --out build/docs",
    "doc:json": "typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json",
    "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
    "clean": "trash build test dist",
    "all": "run-s clean test cov:check doc:html",
    "deploy-docs": "run-s doc:html doc:publish",
    "prepack": "npm ci && npm run test"
  },
  "scripts-info": {
    "info": "Display information about the package scripts",
    "build": "Clean and rebuild the project",
    "test": "Lint and unit test the project",
    "watch": "Watch and rebuild the project on save, then rerun relevant tests",
    "cov": "Rebuild, run tests, then create and open the coverage report",
    "doc": "Generate HTML API documentation and open it in a browser",
    "doc:json": "Generate API documentation in typedoc JSON format",
    "release": "Bump package.json version, update CHANGELOG.md, tag release"
  },
  "engines": {
    "node": ">=20"
  },
  "dependencies": {
    "axios": "^1.13.2",
    "axios-retry": "^4.5.0"
  },
  "devDependencies": {
    "@babel/core": "^7.10.2",
    "@babel/plugin-transform-class-properties": "^7.27.1",
    "@babel/plugin-transform-class-static-block": "^7.28.3",
    "expect": "^30.2.0",
    "@babel/polyfill": "^7.10.1",
    "@babel/preset-env": "^7.10.2",
    "@commitlint/cli": "^17.8.1",
    "@commitlint/config-conventional": "^17.8.1",
    "@types/chai": "^5.2.3",
    "@types/chai-as-promised": "^8.0.2",
    "@types/mocha": "^10.0.10",
    "@types/node": "^18.19.130",
    "@typescript-eslint/eslint-plugin": "^4.33.0",
    "@typescript-eslint/parser": "^4.33.0",
    "axios-mock-adapter": "^2.1.0",
    "babel-loader": "^8.1.0",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "codecov": "^3.8.2",
    "core-js": "^3.6.5",
    "cz-conventional-changelog": "^3.2.0",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^6.7.0",
    "eslint-plugin-import": "^2.19.1",
    "eslint-plugin-unused-imports": "^1.1.5",
    "gh-pages": "^3.0.0",
    "husky": "^4.2.3",
    "karma": "^6.4.2",
    "karma-chrome-launcher": "^3.2.0",
    "karma-firefox-launcher": "^2.1.2",
    "karma-mocha": "^2.0.1",
    "karma-safari-launcher": "^1.0.0",
    "karma-typescript": "^5.0.3",
    "karma-webpack": "^5.0.0",
    "lint-staged": "^10.0.8",
    "mocha": "^10.8.2",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "opn-cli": "^3.1.0",
    "prettier": "^2.0.5",
    "start": "^5.1.0",
    "trash-cli": "^5.0.0",
    "ts-loader": "^7.0.5",
    "ts-mocha": "^11.1.0",
    "ts-node": "^10.9.2",
    "tsconfig-paths": "^4.2.0",
    "typedoc": "0.28.16",
    "typescript": "5.9.3",
    "webpack": "^5.89.0",
    "webpack-cli": "^5.1.4"
  },
  "nyc": {
    "exclude": [
      "**/*.spec.js"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && npm test && npm run cov:check && npm run doc:html",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "header-max-length": [
        2,
        "always",
        100
      ],
      "type-case": [
        1,
        "always",
        "lower-case"
      ],
      "subject-case": [
        1,
        "always",
        "lower-case"
      ]
    }
  },
  "lint-staged": {
    "*.ts": [
      "prettier --write \"src/**/*.ts\"",
      "eslint --fix \"src/**/*.ts\""
    ]
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}
