UNPKG

smart-array-filter

Version:
64 lines (63 loc) 1.78 kB
{ "name": "smart-array-filter", "version": "4.1.1", "main": "./lib/index.js", "module": "./lib-esm/index.js", "types": "./lib/index.d.ts", "description": "Filter an array of objects", "keywords": [ "smart", "array", "filter", "search" ], "files": [ "lib", "src", "lib-esm" ], "author": "Michaël Zasso", "repository": "cheminfo/smart-array-filter", "bugs": { "url": "https://github.com/cheminfo/smart-array-filter/issues" }, "prettier": { "arrowParens": "always", "semi": true, "singleQuote": true, "tabWidth": 2, "trailingComma": "all" }, "homepage": "https://github.com/cheminfo/smart-array-filter", "license": "MIT", "scripts": { "build": "npm run tsc-esm && cheminfo-build --entry lib-esm/index.js --root SmartArrayFilter", "check-types": "tsc --noEmit", "clean": "rimraf lib lib-esm", "eslint": "eslint src", "eslint-fix": "npm run eslint -- --fix", "prepack": "npm run tsc", "prettier": "prettier --check src", "prettier-write": "prettier --write src", "test": "npm run test-only && npm run eslint && npm run check-types", "test-only": "vitest run --coverage", "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm", "tsc-cjs": "tsc --project tsconfig.cjs.json", "tsc-esm": "tsc --project tsconfig.esm.json" }, "devDependencies": { "@types/lodash.escaperegexp": "^4.1.9", "@types/node": "^22.13.10", "@vitest/coverage-v8": "^3.0.8", "cheminfo-build": "^1.2.1", "eslint": "^9.22.0", "eslint-config-cheminfo-typescript": "^17.0.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "typescript": "^5.8.2", "vitest": "^3.0.8" }, "dependencies": { "lodash.escaperegexp": "^4.1.2" } }