UNPKG

node-weak-ref

Version:

Make weak references to JavaScript Objects.

72 lines (71 loc) 1.82 kB
{ "author": "Ben Noordhuis <info@bnoordhuis.nl>", "contributors": [ "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", "Vincent Girard <vinccool96@gmail.com>" ], "name": "node-weak-ref", "license": "MIT", "description": "Make weak references to JavaScript Objects.", "keywords": [ "weak", "reference", "js", "javascript", "object", "function", "callback" ], "version": "2.0.2", "repository": { "type": "git", "url": "git://github.com/Vinccool96/node-weak.git" }, "exports": { "import": "./dist/weak.mjs", "types": "./dist/weak.d.ts", "require": "./dist/weak.cjs" }, "main": "./dist/weak.cjs", "module": "./dist/weak.mjs", "types": "./dist/weak.d.ts", "files": [ "dist", "lib", "src", "binding.gyp" ], "scripts": { "conf": "node-gyp configure", "gyp": "node-gyp build", "build": "unbuild", "install": "node-gyp rebuild", "prepublishOnly": "npm run build && npm pack", "test": "ts-mocha 'test/**/*.test.ts' -gc --reporter spec", "lint": "eslint --fix \"{src,test}/**/*.ts\"" }, "dependencies": { "bindings": "^1.5.0", "nan": "^2.17.0", "node-gyp": "^9.3.1" }, "devDependencies": { "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@types/bindings": "^1.5.1", "@types/expect": "^24.3.0", "@types/mocha": "^10.0.0", "@types/node": "^18.11.3", "@typescript-eslint/eslint-plugin": "^5.48.0", "@typescript-eslint/parser": "^5.48.0", "eslint": "^8.31.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "expose-ts-gc": "^1.0.0", "mocha": "^10.1.0", "prettier": "^2.8.2", "ts-mocha": "^10.0.0", "typescript": "^4.8.4", "unbuild": "^1.0.2" } }