{
  "name": "mergn-webapp-sdk",
  "version": "1.0.280",
  "description": "mergn webapp sdk",
  "author": "yaseenmergn123",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsup",
    "build-sw": "npx tsup service-workers/*.ts --format iife --minify --outDir service-workers/dist --onSuccess 'node ./obfuscate-sw.js && rm -rf ./service-workers/dist/mergn-sw.global.js && rm -rf ./service-workers/dist/mergn-sw.shopify.global.js'",
    "postbuild": "mv ./dist/index.mjs ./dist/index2.js && node ./obfuscate.js && rm -rf ./dist/index2.js",
    "test": "jest",
    "watch": "onchange 'src/**/*.ts' -- npm run build && npm unlink mergn-webapp-sdk && npm link",
    "watch-sw": "onchange 'service-workers/*.ts' -- npm run build-sw",
    "lint": "eslint --ext .js,.ts .",
    "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
    "prepare": "husky install",
    "link": "npm unlink mergn-webapp-sdk && npm link"
  },
  "lint-staged": {
    "*": "prettier --write --ignore-unknown",
    "*.ts": "eslint --fix"
  },
  "devDependencies": {
    "@types/crypto-js": "^4.2.1",
    "@types/jest": "^29.5.11",
    "@types/node": "^20.10.5",
    "@types/uuid": "^9.0.7",
    "@typescript-eslint/eslint-plugin": "^6.17.0",
    "@typescript-eslint/parser": "^6.17.0",
    "eslint": "^8.56.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-prettier": "^5.1.2",
    "eslint-plugin-sort": "^2.11.0",
    "husky": "^8.0.3",
    "javascript-obfuscator": "^4.1.0",
    "jest": "^29.7.0",
    "jest-mock-axios": "^4.7.3",
    "lint-staged": "^15.2.0",
    "prettier": "^3.1.1",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.2",
    "tsup": "^8.2.2",
    "typescript": "^5.3.3"
  }
}
