UNPKG

json-property-filter

Version:

JavaScript library and application to filter a JSON object by including and excluding properties.

67 lines (66 loc) 1.76 kB
{ "name": "json-property-filter", "version": "2.0.0", "keywords": [ "json-property-filter", "filter", "json", "property", "path", "object", "element", "include", "exclude" ], "description": "JavaScript library and application to filter a JSON object by including and excluding properties.", "main": "./lib/index.js", "scripts": { "build": "npm run clean && tsc -p tsconfig.json", "clean": "rimraf lib", "coveralls": "nyc report --reporter=text-lcov | coveralls", "prebuild": "tslint src/**/*.ts", "prepublishOnly": "npm run build", "test": "mocha --require ts-node/register --recursive test/**/*", "test:coverage": "nyc npm test" }, "bin": { "json-property-filter": "./bin/json-property-filter.js" }, "repository": { "type": "git", "url": "https://github.com/cyrilschumacher/json-property-filter.git" }, "bugs": { "url": "https://github.com/cyrilschumacher/json-property-filter/issues" }, "engines": { "node": ">=5.0" }, "homepage": "https://github.com/cyrilschumacher/json-property-filter", "types": "./lib/index.d.ts", "author": "Cyril Schumacher", "license": "MIT", "devDependencies": { "@types/chai": "^4.2.13", "@types/chai-arrays": "^1.0.3", "@types/commander": "^2.12.2", "@types/debug": "^4.1.5", "@types/mocha": "^8.0.3", "@types/node": "^14.11.5", "@types/sinon": "^9.0.8", "chai": "^4.2.0", "chai-arrays": "^2.2.0", "coveralls": "^3.1.0", "mocha": "^8.1.3", "nyc": "^15.1.0", "rimraf": "^3.0.2", "sinon": "^9.2.0", "ts-node": "^9.0.0", "tslint": "~6.1.3", "typescript": "^4.0.3" }, "dependencies": { "commander": "^6.1.0", "debug": "^4.2.0" } }