{
  "name": "chromite",
  "version": "0.3.3",
  "description": "Chrome Extension Message-Routing toolkit",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/otiai10/chromite.git"
  },
  "keywords": [
    "Chrome",
    "Extension",
    "runtime",
    "sendMessage",
    "routing"
  ],
  "author": "otiai10",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/otiai10/chromite/issues"
  },
  "homepage": "https://github.com/otiai10/chromite#readme",
  "devDependencies": {
    "@types/chrome": "^0.1.27",
    "@types/jest": "^27.5.2",
    "@types/node": "^18.19.67",
    "@typescript-eslint/eslint-plugin": "^6.21.0",
    "esbuild": "^0.26.0",
    "eslint": "^8.57.1",
    "eslint-config-standard-with-typescript": "^43.0.1",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-n": "^16.6.2",
    "eslint-plugin-promise": "^6.1.1",
    "jest": "^27.5.1",
    "jest-chrome": "^0.8.0",
    "jest-puppeteer": "^8.0.6",
    "puppeteer": "^24.29.1",
    "ts-jest": "^27.1.5",
    "ts-node": "^10.9.2",
    "typescript": "^4.9.5"
  },
  "targets": {
    "default": {
      "source": "src/index.ts",
      "distDir": "lib"
    },
    "e2e": {
      "source": [
        "tests/e2e/app/src/background.ts",
        "tests/e2e/app/src/content.ts"
      ],
      "distDir": "tests/e2e/app/dist",
      "optimize": false,
      "sourceMap": false
    }
  },
  "scripts": {
    "clean": "rm -rf lib tests/e2e/app/dist",
    "build": "tsc --declaration --outDir lib ./src/index.ts",
    "build:e2e": "esbuild tests/e2e/app/src/background.ts --bundle --format=iife --platform=browser --target=chrome115 --outfile=tests/e2e/app/dist/background.js && esbuild tests/e2e/app/src/content.ts --bundle --format=iife --platform=browser --target=chrome115 --outfile=tests/e2e/app/dist/content.js",
    "test": "jest --config tests/spec/jest.config.ts",
    "test:e2e": "npm run build:e2e && jest --config tests/e2e/jest.config.ts",
    "lint": "eslint \"src/*.ts\" \"tests/**/*.{ts,js}\""
  }
}