| Current Path : /etc/kibana/node_modules/unload/ |
| Current File : //etc/kibana/node_modules/unload/package.json |
{
"name": "unload",
"version": "2.2.0",
"description": "Execute code when the js-process exits. On all javascript-environments",
"author": "pubkey",
"license": "Apache-2.0",
"keywords": [
"unload",
"exit",
"onunload",
"SIGINT",
"uncaughtException",
"beforeExit"
],
"scripts": {
"lint": "eslint src test",
"preversion": "npm run lint && npm run test",
"build:es6": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es",
"build:es5": "cross-env NODE_ENV=es5 babel src --out-dir dist/lib",
"build:test": "cross-env NODE_ENV=es5 babel test --out-dir test_tmp",
"build:browser": "browserify dist/lib/index.browserify.js > dist/browserify.js",
"build:worker": "browserify test/helper/worker.js > test_tmp/worker.js",
"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",
"clear": "rimraf -rf ./dist",
"pingserver": "node ./test/helper/ping-server.node.js",
"test:typings": "npm run build && mocha ./test_tmp/typings.test.js -b --timeout 12000 --exit",
"test:node": "npm run build && concurrently --kill-others -s first \"npm run pingserver\" \"mocha -b test_tmp/nodejs.test.js\"",
"test:browser:server": "http-server . -p 8080 --cors --silent",
"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": "npm run test:node && npm run test:browser"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pubkey/unload.git"
},
"pre-commit": [
"lint"
],
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
"types": "./src/index.d.ts",
"devDependencies": {},
"dependencies": {},
"// browser": "this field contains files that will be empty objects in webpack-builds",
"browser": {
"./src/node.js": false,
"./dist/es/node.js": false,
"./dist/lib/node.js": false
},
"cleaned": true
}