UNPKG

@mcabreradev/filter

Version:

Filters an array based on the provided expression, a helper for complex array filtering

86 lines (85 loc) 2.23 kB
{ "name": "@mcabreradev/filter", "version": "3.1.4", "description": "Filters an array based on the provided expression, a helper for complex array filtering", "scripts": { "build": "tsc src/index.ts --declaration --outDir build", "test": "jest", "format": "prettier --write \"src/**/*.ts\"", "lint": "npx eslint .", "prepare": "npm run build", "prepublish": "npm run lint", "version": "npm run format && git add -A src", "publish:major": "npm version major && npm publish", "publish:minor": "npm version minor && npm publish", "publish:patch": "npm version patch && npm publish", "release": "git push origin --tags", "release:major": "npm run publish:major && npm run release", "release:minor": "npm run publish:minor && npm run release", "release:patch": "npm run publish:patch && npm run release", "doctoc": "doctoc --title='## Table of Contents' --github README.md" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/mcabreradev/filter.git" }, "keywords": [ "filter", "node", "typescript", "search", "react", "nextjs", "array", "object", "nodejs", "javascript", "front-end", "es6", "frontend", "backend", "arrow-functions", "back-end", "arrays", "toolset", "node-js", "next-js", "next", "array-methods" ], "author": "Miguelangel Cabrera", "license": "MIT", "bugs": { "url": "https://github.com/mcabreradev/filter/issues" }, "homepage": "https://github.com/mcabreradev/filter#readme", "devDependencies": { "@babel/preset-env": "^7.24.0", "@babel/preset-typescript": "^7.23.3", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^7.0.1", "doctoc": "^2.2.1", "eslint": "^8.56.0", "jest": "^29.7.0", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "typescript": "^5.3.3" }, "engines": { "node": ">=18" }, "jest": { "collectCoverage": true, "coverageReporters": [ "json", "text" ] }, "dependencies": {}, "main": "build/index.js", "types": "build/index.d.ts", "files": [ "build/**/*" ] }