{ "_args": [ [ "before-after-hook@2.1.0", "." ] ], "_from": "before-after-hook@2.1.0", "_id": "before-after-hook@2.1.0", "_inBundle": false, "_integrity": "sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==", "_location": "/before-after-hook", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "before-after-hook@2.1.0", "name": "before-after-hook", "escapedName": "before-after-hook", "rawSpec": "2.1.0", "saveSpec": null, "fetchSpec": "2.1.0" }, "_requiredBy": [ "/@octokit/rest" ], "_resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.0.tgz", "_spec": "2.1.0", "_where": ".", "author": { "name": "Gregor Martynus" }, "bugs": { "url": "https://github.com/gr2m/before-after-hook/issues" }, "dependencies": {}, "description": "asynchronous before/error/after hooks for internal functionality", "devDependencies": { "browserify": "^16.0.0", "gaze-cli": "^0.2.0", "istanbul": "^0.4.0", "istanbul-coveralls": "^1.0.3", "mkdirp": "^0.5.1", "rimraf": "^2.4.4", "semantic-release": "^15.0.0", "simple-mock": "^0.8.0", "standard": "^13.0.1", "tap-min": "^2.0.0", "tap-spec": "^5.0.0", "tape": "^4.2.2", "typescript": "^3.5.3", "uglify-js": "^3.0.0" }, "files": [ "index.js", "index.d.ts", "lib" ], "homepage": "https://github.com/gr2m/before-after-hook#readme", "keywords": [ "hook", "hooks", "api" ], "license": "Apache-2.0", "name": "before-after-hook", "release": { "publish": [ "@semantic-release/npm", { "path": "@semantic-release/github", "assets": [ "dist/*.js" ] } ] }, "repository": { "type": "git", "url": "git+https://github.com/gr2m/before-after-hook.git" }, "scripts": { "build": "browserify index.js --standalone=Hook > dist/before-after-hook.js", "postbuild": "uglifyjs dist/before-after-hook.js -mc > dist/before-after-hook.min.js", "posttest": "npm run validate:ts", "postvalidate:ts": "tsc --noEmit --strict --target es6 test/typescript-validate.ts", "prebuild": "rimraf dist && mkdirp dist", "presemantic-release": "npm run build", "pretest": "standard", "semantic-release": "semantic-release", "test": "npm run -s test:node | tap-spec", "test:coverage": "istanbul cover test", "test:coverage:upload": "istanbul-coveralls", "test:node": "node test", "test:watch": "gaze 'clear && node test | tap-min' 'test/**/*.js' 'index.js' 'lib/**/*.js'", "validate:ts": "tsc --strict --target es6 index.d.ts" }, "types": "./index.d.ts", "version": "2.1.0" }