UNPKG

generic-interceptor

Version:

Provide proxy handler for getting properties and executing functions

83 lines (82 loc) 3.45 kB
{ "name": "generic-interceptor", "version": "2.2.1", "description": "Provide proxy handler for getting properties and executing functions", "main": ".build/index", "typings": ".build/index.d.ts", "packageManager": "npm@6.14.12", "repository": { "type": "git", "url": "https://github.com/czlowiek488/generic-interceptor.git" }, "engines": { "node": ">=4.2.0" }, "scripts": { "format": "./node_modules/.bin/prettier --write ./src/**/*.ts", "lint": "./node_modules/.bin/eslint -c eslint.json --ext .ts ./", "lint-fix": "./node_modules/.bin/eslint -c eslint.json --ext .ts --fix ./", "test-promise": "jest --config jestconfig.json --testNamePattern='promise async strategy'", "test-callback": "jest --config jestconfig.json --testNamePattern='callback ending strategy'", "test-sync": "jest --config jestconfig.json --testNamePattern='synchronous strategy'", "test-error": "jest --config jestconfig.json --testNamePattern='function error result'", "test-success": "jest --config jestconfig.json --testNamePattern='function success result'", "test-common": "jest --config jestconfig.json --testNamePattern='common prefix'", "test-pattern": "jest --config jestconfig.json --testNamePattern=$npm_config_pattern", "test": "npx ts-node tests/shared/run-per-case.ts", "test-build": "npx ts-node tests/shared/validation.ts && npx ts-node tests/shared/generic-strategy.ts", "prepublishOnly": "npm run lint && npm run build && npm run test", "build": "tsc", "_generate-dependency-cruiser-test-html": "./node_modules/.bin/dependency-cruiser --config docs/dependency-cruiser-test.js ./ -T dot | dot -T svg | ./node_modules/.bin/depcruise-wrap-stream-in-html > docs/dependency-cruiser-test.html", "_generate-dependency-cruiser-test-svg": "./node_modules/.bin/dependency-cruiser --config docs/dependency-cruiser-test.js ./ -T dot | dot -T svg > docs/dependency-cruiser-test.svg", "generate-dependency-cruiser": "npm run _generate-dependency-cruiser-test-html & npm run _generate-dependency-cruiser-test-svg", "prepare": "husky install" }, "devDependencies": { "@commitlint/cli": "^16.2.1", "@commitlint/config-conventional": "^16.2.1", "@types/jest": "^27.4.1", "@types/lodash": "^4.14.182", "@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/parser": "^5.12.1", "dependency-cruiser": "^11.8.0", "eslint": "^8.9.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^16.1.0", "eslint-config-prettier": "^8.4.0", "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.25.4", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-unicorn": "^41.0.0", "husky": "^7.0.4", "jest": "^27.5.1", "lodash": "^4.17.21", "prettier": "^2.5.1", "ts-jest": "^27.1.4", "tslint-eslint-rules": "^5.4.0", "typescript": "^4.6.3", "utility-types": "^3.10.0" }, "author": "Łukasz Klejszta", "keywords": [ "interceptor", "proxy", "handler", "generic", "function", "execution", "promise", "async", "callback", "typescript" ], "license": "MIT", "bugs": { "url": "https://github.com/czlowiek488/generic-interceptor/issues" }, "homepage": "https://github.com/czlowiek488/generic-interceptor", "dependencies": { "uuid": "^9.0.0" } }