UNPKG

@jsonhero/fuzzy-json-search

Version:
89 lines (88 loc) 2.47 kB
{ "name": "@jsonhero/fuzzy-json-search", "version": "0.2.2", "description": "VSCode style fuzzy search for JSON documents", "homepage": "https://github.com/jsonhero-io/fuzzy-json-search", "bugs": { "url": "https://github.com/jsonhero-io/fuzzy-json-search/issues" }, "repository": { "type": "git", "url": "https://github.com/jsonhero-io/fuzzy-json-search.git" }, "exports": "./lib/index.js", "types": "lib/index.d.ts", "main": "./lib/index.js", "type": "commonjs", "module": "./lib/index.mjs", "files": [ "/lib" ], "publishConfig": { "access": "public" }, "scripts": { "clean": "rimraf lib", "check-types": "tsc --noEmit", "test": "jest", "test:cov": "jest --coverage", "test:watch": "jest --watchAll", "test:badges": "npm t && jest-coverage-badges --output ./badges", "build": "rollup -c", "prepublishOnly": "npm run clean && npm run check-types && npm run format:check && npm run lint && npm test && npm run build", "lint": "eslint . --ext .ts", "lint-and-fix": "eslint . --ext .ts --fix", "format": "prettier --config .prettierrc 'src/**/*.ts' --write && prettier --config .prettierrc 'tests/**/*.ts' --write", "format:check": "prettier --config .prettierrc --list-different 'src/**/*.ts'" }, "engines": { "node": "16" }, "keywords": [ "search", "json", "fuzzy", "vscode" ], "author": "Eric Allam", "license": "MIT", "devDependencies": { "@jsonhero/path": "^1.0.19", "@jsonhero/json-infer-types": "^1.2.9", "@rollup/plugin-node-resolve": "^13.1.2", "@types/jest": "^27.0.2", "@types/lru-cache": "^7.6.1", "@types/node": "^16.11.7", "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "eslint": "^8.5.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.3.1", "prettier": "^2.5.1", "rimraf": "^3.0.2", "rollup": "^2.62.0", "rollup-plugin-typescript2": "^0.31.1", "ts-jest": "^27.0.7", "ts-node": "^10.4.0", "typescript": "^4.4.4" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "coverageReporters": [ "json-summary", "text", "lcov" ], "globalSetup": "./tests/setup.js" }, "husky": { "hooks": { "pre-commit": "npm run prettier-format && npm run lint" } }, "dependencies": { "lru-cache": "^7.8.1" } }