{
  "name": "search-insights",
  "description": "Library for reporting click, conversion and view metrics using the Algolia Insights API",
  "version": "2.6.0",
  "jsdelivr": "dist/search-insights.min.js",
  "main": "index-node.cjs.js",
  "types": "index-node.cjs.d.ts",
  "browser": "index-browser.cjs.js",
  "react-native": {
    "http": "./empty-module.cjs.js",
    "https": "./empty-module.cjs.js"
  },
  "engines": {
    "node": ">=8.16.0"
  },
  "files": [
    "dist",
    "lib",
    "!**/__tests__/**",
    "empty-module.cjs.js",
    "empty-module.cjs.d.ts",
    "index-browser.cjs.d.ts",
    "index-node.cjs.d.ts"
  ],
  "scripts": {
    "build": "rollup --environment NODE_ENV:'production' -c rollup.config.js && tsc --build tsconfig.declaration.json",
    "build:dev": "rollup --watch --environment NODE_ENV:'development' -c rollup.config.js",
    "build:examples": "webpack --config config/webpack.config.js --color --progress",
    "dev": "NODE_ENV=development webpack --config config/webpack.config.js --color --progress --watch & node server/server",
    "lint": "tslint ./lib/**/*.ts",
    "lint:fix": "yarn lint -- --fix",
    "prettier": "prettier 'lib/**/*.ts' 'examples/**/*' --write",
    "test": "NODE_ENV=development yarn build:examples && yarn build && jest",
    "test:watch": "yarn test --watch",
    "test:size": "bundlesize",
    "toc": "markdown-toc -i --maxdepth=3 --bullets=\"-\" README.md",
    "type-check": "tsc",
    "type-check:watch": "yarn type-check --watch",
    "release": "shipjs prepare"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/algolia/search-insights.js.git"
  },
  "author": {
    "name": "Jonas Badalic",
    "url": "https://www.algolia.com"
  },
  "license": "MIT",
  "devDependencies": {
    "@types/jest": "24.0.25",
    "@types/jsdom": "12.2.4",
    "@types/puppeteer": "1.20.3",
    "algoliasearch": "3.35.1",
    "algoliasearch-helper": "2.28.0",
    "babel-cli": "6.26.0",
    "babel-loader": "7.1.5",
    "babel-preset-env": "1.7.0",
    "body-parser": "1.19.0",
    "bundlesize": "0.18.0",
    "cors": "2.8.5",
    "css-loader": "0.28.11",
    "dotenv": "8.2.0",
    "express": "4.17.1",
    "extract-text-webpack-plugin": "3.0.2",
    "html-loader": "0.5.5",
    "html-replace-webpack-plugin": "2.5.5",
    "html-webpack-plugin": "3.2.0",
    "instantsearch.js": "2.10.5",
    "jest": "24.9.0",
    "jest-localstorage-mock": "2.4.0",
    "jest-watch-typeahead": "0.4.0",
    "lunr": "2.3.6",
    "markdown-toc": "1.2.0",
    "node-sass": "4.13.1",
    "prettier": "2.8.4",
    "puppeteer": "1.20.0",
    "rollup": "1.28.0",
    "rollup-plugin-buble": "0.19.8",
    "rollup-plugin-commonjs": "8.4.1",
    "rollup-plugin-filesize": "6.1.1",
    "rollup-plugin-json": "4.0.0",
    "rollup-plugin-node-resolve": "3.4.0",
    "rollup-plugin-replace": "2.2.0",
    "rollup-plugin-typescript": "1.0.1",
    "rollup-plugin-uglify": "3.0.0",
    "sass-loader": "6.0.7",
    "shipjs": "0.21.1",
    "style-loader": "0.23.1",
    "ts-jest": "22.4.6",
    "ts-loader": "6.2.1",
    "tslint": "6.1.3",
    "tslint-config-airbnb": "5.11.2",
    "tslint-config-prettier": "1.18.0",
    "tslint-plugin-prettier": "2.3.0",
    "typescript": "3.7.4",
    "webpack": "3.12.0"
  },
  "jest": {
    "setupFiles": [
      "jest-localstorage-mock",
      "./tests/setupJest.js"
    ],
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "transformIgnorePatterns": [
      "<rootDir>/lib/polyfills/*.js"
    ],
    "testRegex": "(/lib/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json"
    ],
    "watchPlugins": [
      "jest-watch-typeahead/filename",
      "jest-watch-typeahead/testname"
    ],
    "globals": {
      "__DEV__": true,
      "__FLAVOR__": "node-cjs"
    }
  },
  "dependencies": {},
  "bundlesize": [
    {
      "path": "./dist/search-insights.min.js",
      "maxSize": "2.80 kB"
    }
  ]
}
