@manuth/interceptor
Version:
Provides a convenient way to intercept method- property- and accessor-calls of an object.
80 lines (79 loc) • 2.28 kB
JSON
{
"name": "@manuth/interceptor",
"version": "3.0.1",
"type": "module",
"description": "Provides a convenient way to intercept method- property- and accessor-calls of an object.",
"author": "Manuel Thalmann <m@nuth.ch>",
"license": "MIT",
"keywords": [
"Interceptor",
"Proxy",
"Object",
"Field",
"Property",
"Accessor",
"Method",
"Interception",
"Manipulation",
"Mutation"
],
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
},
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"homepage": "https://codeberg.org/lordgizmo/Interceptor#readme",
"bugs": {
"url": "https://codeberg.org/lordgizmo/Interceptor/issues"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"patchTypeScript": "ts-patch install",
"prepare": "ts-patch install",
"build": "tsc -b tsconfig.build.json",
"rebuild": "npm run clean && npm run build",
"watch": "npm run build -- --watch",
"clean": "npm run build -- --clean && rimraf ./lib",
"lint": "eslint --max-warnings 0 ./scripts ./src .eslintrc.cjs",
"lint-ide": "npm run lint || exit 0",
"test": "mocha",
"bump-version": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ./scripts/bumpVersion.mts",
"prepack": "npm run build"
},
"dependencies": {
"lodash.clonedeep": "^4.5.0"
},
"devDependencies": {
"@manuth/eslint-plugin-typescript": "^4.1.3",
"@manuth/package-json-editor": "^3.1.1",
"@manuth/tsconfig": "^4.0.1",
"@types/fs-extra": "^11.0.1",
"@types/git-branch": "^2.0.2",
"@types/lodash.clonedeep": "^4.5.7",
"@types/mocha": "^10.0.1",
"@types/nameof": "npm:@typescript-nameof/types@^0.0.7",
"@types/node": "^20.2.5",
"@types/npm-which": "^3.0.1",
"@typescript-nameof/nameof": "^0.0.7",
"eslint": "^8.41.0",
"fs-extra": "^11.1.1",
"git-branch": "^2.0.1",
"globby": "^13.1.4",
"mocha": "^10.2.0",
"npm-which": "^3.0.1",
"random-js": "^2.1.0",
"rimraf": "^5.0.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"ts-patch": "^2.1.0",
"typescript": "^4.9.5"
}
}