{
  "name": "@jafri/penpal",
  "version": "4.1.1",
  "description": "A promise-based library for communicating with iframes via postMessage.",
  "author": "Aaron Hardy <aaron@aaronhardy.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Aaronius/penpal/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Aaronius/penpal.git"
  },
  "keywords": [
    "iframe",
    "postMessage",
    "promise"
  ],
  "main": "lib/index.js",
  "scripts": {
    "clean": "rm -rf dist lib",
    "build:lib": "babel ./src --out-dir ./lib",
    "build:dist": "rollup --config rollup.config.js && terser dist/penpal.js -o dist/penpal.min.js -m --source-map",
    "build": "npm-run-all clean build:lib build:dist && ls -lh dist/penpal.min.js",
    "lint": "eslint .",
    "format": "prettier --write \"**/*.{json,js,md,html,babelrc,eslintrc}\"",
    "test": "npm-run-all clean runTests",
    "test:watch": "npm-run-all clean runTests:watch",
    "test:sauce": "npm-run-all build 'runTests -- --sauce'",
    "runTests": "node ./scripts/test.js",
    "runTests:watch": "npm run runTests -- --watch",
    "prepublishOnly": "npm-run-all format lint test build"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm-run-all format lint test && git add ."
    }
  },
  "browserslist": [
    "last 2 Chrome version",
    "last 2 Firefox version",
    "last 2 Safari version",
    "last 2 Edge version"
  ],
  "files": [
    "dist",
    "lib"
  ],
  "dependencies": {},
  "devDependencies": {
    "@babel/cli": "^7.2.3",
    "@babel/core": "^7.3.4",
    "@babel/preset-env": "^7.3.4",
    "@metahub/karma-rollup-preprocessor": "^4.1.0",
    "babel-plugin-add-module-exports": "^1.0.0",
    "connect": "^3.6.6",
    "eslint": "^5.10.0",
    "eslint-config-prettier": "^4.1.0",
    "eslint-plugin-import": "^2.14.0",
    "husky": "^1.3.1",
    "jasmine-core": "^3.3.0",
    "karma": "^3.1.4",
    "karma-babel-preprocessor": "^8.0.0-beta.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-firefox-launcher": "^1.1.0",
    "karma-jasmine": "^2.0.1",
    "karma-sauce-launcher": "^2.0.2",
    "npm-run-all": "^4.1.5",
    "prettier": "1.15.3",
    "rollup": "^1.7.0",
    "rollup-plugin-babel": "^4.3.2",
    "serve-static": "^1.13.2",
    "terser": "^3.13.1",
    "yargs": "^12.0.5"
  }
}
