{ "name": "oblivious-set", "version": "1.4.0", "description": "Like a JavaScript Set() but with a TTL for entries", "keywords": [ "set", "oblivious", "cache" ], "license": "MIT", "exports": { ".": { "default": { "types": "./dist/esm/src/index.d.ts", "import": "./dist/esm/src/index.js", "default": "./dist/cjs/src/index.es5.js" } }, "./package.json": "./package.json" }, "main": "./dist/cjs/src/index.es5.js", "module": "./dist/esm/src/index.js", "engines": { "node": ">=16" }, "types": "./dist/esm/src/index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/pubkey/oblivious-set" }, "scripts": { "prepublish": "npm run build", "lint": "tslint --project .", "lint:fix": "tslint --project . --fix", "transpile": "tsc -p ./ --module commonjs && echo '# transpile es5 (require) sucess!'", "transpile:es": "tsc -p ./ --outDir ./dist/esm && echo '{ \"type\": \"module\", \"sideEffects\": false }' > dist/esm/src/package.json && echo '# transpile esm (modules) sucess!'", "build": "rimraf -r ./dist && npm run transpile && npm run transpile:es", "test": "npm run build && mocha ./dist/cjs/test/unit.test.js --timeout 40000 --bail" }, "author": "pubkey", "devDependencies": { "@types/mocha": "8.2.2", "@types/node": "14.17.1", "assert": "2.0.0", "async-test-util": "2.2.0", "mocha": "8.4.0", "rimraf": "3.0.2", "ts-node": "10.9.1", "tslint": "6.1.3", "typescript": "5.2.2" } }