{
  "name": "notifly-js-sdk",
  "version": "2.19.0",
  "description": "Notifly JS SDK for browser.",
  "main": "lib/cjs/index.js",
  "module": "lib/esm/index.js",
  "types": "lib/esm/index.d.ts",
  "scripts": {
    "test": "jest",
    "pretty": "prettier --write \"src/**/*.{js,jsx,json,ts}\"",
    "lint": "eslint .",
    "prepublishOnly": "npm run build && npm run deploy:sw",
    "build": "npm run clean && npm run write-version && npm run build:es5 && npm run build:esm && npm run build:umd && npm run build:umd:min && npm run build:global && npm run build:global:min && npm run build:sw",
    "start": "http-server --cors",
    "clean": "rm -rf dist lib",
    "build:es5": "tsc -p ./tsconfig.es5.json",
    "build:esm": "tsc -p ./tsconfig.esm.json",
    "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/index.js",
    "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/index.min.js",
    "build:global": "cross-env NODE_ENV=development rollup -c rollup.global.config.js -o dist/index.global.js",
    "build:global:min": "cross-env NODE_ENV=production rollup -c rollup.global.config.js -o dist/index.global.min.js",
    "build:sw": "tsc -p ./tsconfig.sw.json",
    "deploy:sw": "aws s3 cp --content-type \"application/javascript\" dist/NotiflyServiceWorker.js s3://notifly-content/notifly-js-sdk/dist/NotiflyServiceWorker.js && aws cloudfront create-invalidation --distribution-id E2M7VD2WC9S1MI --paths \"/notifly-js-sdk/dist/NotiflyServiceWorker.js\"",
    "write-version": "node ./scripts/write_version.js",
    "type-check": "tsc -p ./tsconfig.json",
    "example-react": "npm run write-version && source ./scripts/copy_sdk.sh && npm run --prefix examples/react start"
  },
  "author": "Grey Box Inc.",
  "license": "ISC",
  "repository": "https://github.com/team-michael/notifly-js-sdk",
  "dependencies": {
    "lodash": "^4.17.21",
    "notifly-web-message-renderer": "^2.4.0",
    "uuid": "^9.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.23.0",
    "@babel/core": "^7.23.2",
    "@babel/preset-env": "^7.21.4",
    "@babel/preset-typescript": "^7.21.5",
    "@babel/register": "^7.22.15",
    "@rollup/plugin-babel": "^6.0.4",
    "@rollup/plugin-commonjs": "^25.0.7",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-replace": "^5.0.4",
    "@types/jest": "^29.5.1",
    "@types/lodash": "^4.14.197",
    "@types/node": "^18.16.3",
    "@types/uuid": "^9.0.8",
    "@typescript-eslint/eslint-plugin": "^5.59.1",
    "@typescript-eslint/parser": "^5.59.1",
    "cross-env": "^7.0.3",
    "eslint-plugin-react": "^7.32.2",
    "eslint-plugin-react-hooks": "^4.6.0",
    "http-server": "^14.1.1",
    "jest": "^29.5.0",
    "jest-environment-jsdom": "^29.5.0",
    "prettier": "^2.8.8",
    "rollup": "^2.79.1",
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript": "^1.0.1",
    "ts-node": "^10.9.2",
    "typescript": "^5.0.4"
  }
}
