fun-hooks
Version:
A generalized and simple hooking API for adding extensibility to applications
65 lines (64 loc) • 1.74 kB
JSON
{
"name": "fun-hooks",
"version": "1.1.0",
"description": "A generalized and simple hooking API for adding extensibility to applications",
"author": "Rich Snapp @snapwich",
"license": "MIT",
"keywords": [
"hooks",
"middleware",
"before",
"after",
"pre",
"post",
"wrapper",
"plugins"
],
"main": "eval/index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"eval/index.js",
"no-eval/index.js",
"dist/fun-hooks.js",
"dist/fun-hooks.min.js",
"dist/fun-hooks.min.js.map",
"dist/fun-hooks.no-eval.js",
"dist/fun-hooks.no-eval.min.js",
"dist/fun-hooks.no-eval.min.js.map"
],
"unpkg": "dist/fun-hooks.min.js",
"scripts": {
"test": "jest",
"test:debug": "cross-env DEBUG=true node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand .",
"lint": "eslint index.js index.test.js scripts/*.js",
"prettier": "prettier --write \"{.,scripts}/{*.js,*.d.ts,json,md}\" --end-of-line lf",
"bundle": "node scripts/bundle.js --output",
"validate": "npm run lint && npm run test",
"cleanup": "node scripts/cleanup.js",
"prepare": "npm run validate && npm run bundle",
"publish": "npm run cleanup"
},
"repository": {
"type": "git",
"url": "https://github.com/snapwich/fun-hooks"
},
"dependencies": {
"typescript-tuple": "^2.2.1"
},
"devDependencies": {
"cross-env": "^5.2.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-prettier": "^3.0.1",
"eval": "^0.1.3",
"jest": "^29.7.0",
"mkdirp": "^1.0.4",
"preprocess": "^3.1.0",
"prettier": "^1.16.4",
"shelljs": "^0.8.3",
"terser": "^4.8.1",
"yargs": "^13.2.2"
}
}