{
  "// browser": "this field contains files that will be empty objects in webpack-builds",
  "_from": "unload@2.2.0",
  "_id": "unload@2.2.0",
  "_inBundle": false,
  "_integrity": "sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==",
  "_location": "/unload",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "unload@2.2.0",
    "name": "unload",
    "escapedName": "unload",
    "rawSpec": "2.2.0",
    "saveSpec": null,
    "fetchSpec": "2.2.0"
  },
  "_requiredBy": [
    "/broadcast-channel"
  ],
  "_resolved": "https://registry.npmjs.org/unload/-/unload-2.2.0.tgz",
  "_shasum": "ccc88fdcad345faa06a92039ec0f80b488880ef7",
  "_spec": "unload@2.2.0",
  "_where": "/home/ghf/system/node_modules/broadcast-channel",
  "author": {
    "name": "pubkey"
  },
  "browser": {
    "./src/node.js": false,
    "./dist/es/node.js": false,
    "./dist/lib/node.js": false
  },
  "bugs": {
    "url": "https://github.com/pubkey/unload/issues"
  },
  "bundleDependencies": false,
  "dependencies": {
    "@babel/runtime": "^7.6.2",
    "detect-node": "^2.0.4"
  },
  "deprecated": false,
  "description": "Execute code when the js-process exits. On all javascript-environments",
  "devDependencies": {
    "@babel/cli": "7.6.2",
    "@babel/core": "7.6.2",
    "@babel/plugin-check-constants": "7.0.0-beta.38",
    "@babel/plugin-proposal-object-rest-spread": "7.6.2",
    "@babel/plugin-transform-member-expression-literals": "7.2.0",
    "@babel/plugin-transform-property-literals": "7.2.0",
    "@babel/plugin-transform-runtime": "7.6.2",
    "@babel/polyfill": "7.6.0",
    "@babel/preset-env": "7.6.2",
    "@babel/types": "7.6.1",
    "assert": "2.0.0",
    "async-test-util": "1.7.3",
    "browserify": "16.5.0",
    "child-process-promise": "2.2.1",
    "child_process": "1.0.2",
    "concurrently": "4.1.2",
    "cors": "2.8.5",
    "cross-env": "6.0.0",
    "eslint": "6.4.0",
    "express": "4.17.1",
    "http-server": "0.11.1",
    "karma": "4.3.0",
    "karma-browserify": "6.1.0",
    "karma-chrome-launcher": "3.1.0",
    "karma-mocha": "1.3.0",
    "mocha": "6.2.0",
    "node": "12.11.0",
    "node-cmd": "3.0.0",
    "npm-run-all": "4.1.5",
    "pre-commit": "1.2.2",
    "request": "2.88.0",
    "request-promise-native": "1.0.7",
    "rimraf": "3.0.0",
    "ts-node": "7.0.1",
    "typescript": "3.6.3",
    "uglify-js": "3.6.0",
    "util": "0.12.1",
    "watch": "1.0.2",
    "watchify": "3.11.1"
  },
  "homepage": "https://github.com/pubkey/unload#readme",
  "keywords": [
    "unload",
    "exit",
    "onunload",
    "SIGINT",
    "uncaughtException",
    "beforeExit"
  ],
  "license": "Apache-2.0",
  "main": "./dist/lib/index.js",
  "module": "./dist/es/index.js",
  "name": "unload",
  "pre-commit": [
    "lint"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pubkey/unload.git"
  },
  "scripts": {
    "build": "npm run clear && concurrently \"npm run build:es6\" \"npm run build:es5\" \"npm run build:test\" && npm run build:browser && npm run build:worker",
    "build:browser": "browserify dist/lib/index.browserify.js > dist/browserify.js",
    "build:es5": "cross-env NODE_ENV=es5 babel src --out-dir dist/lib",
    "build:es6": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es",
    "build:test": "cross-env NODE_ENV=es5 babel test --out-dir test_tmp",
    "build:worker": "browserify test/helper/worker.js > test_tmp/worker.js",
    "clear": "rimraf -rf ./dist",
    "lint": "eslint src test",
    "pingserver": "node ./test/helper/ping-server.node.js",
    "preversion": "npm run lint && npm run test",
    "test": "npm run test:node && npm run test:browser",
    "test:browser": "npm run build && concurrently --kill-others -s first \"npm run test:browser:server\" \"npm run pingserver\" \"karma start ./config/karma.conf.js --single-run\"",
    "test:browser:server": "http-server . -p 8080 --cors --silent",
    "test:node": "npm run build && concurrently  --kill-others -s first \"npm run pingserver\" \"mocha -b test_tmp/nodejs.test.js\"",
    "test:typings": "npm run build && mocha ./test_tmp/typings.test.js -b --timeout 12000 --exit"
  },
  "types": "./src/index.d.ts",
  "version": "2.2.0"
}
