UNPKG

itemsjs

Version:

Created to perform fast search on small json dataset (up to 1000 elements).

64 lines (63 loc) 1.7 kB
{ "name": "itemsjs", "version": "2.1.10", "description": "Created to perform fast search on small json dataset (up to 1000 elements).", "main": "lib/index.js", "scripts": { "test": "mocha tests/*", "lint": "eslint \"**/*.js\" --ext js", "lint:fix": "eslint \"**/*.js\" --ext js --fix", "browserify": "browserify index.js -v -s itemsjs -o dist/itemsjs.js", "minify": "minify dist/itemsjs.js -o dist/itemsjs.min.js", "dist": "npm run browserify && npm run minify", "lodash": "lodash include=map,mapKeys,clone,forEach,filter,mapValues,intersection,chain,sortBy,toPairs,uniq,orderBy -o vendor/lodash.js -p", "prepublishOnly": "npm run build", "build:cjs": "babel src -d lib", "build": "npm run build:cjs && npm run dist" }, "author": "Mateusz Rzepa", "license": "Apache-2.0", "dependencies": { "fastbitset": "^0.4.0", "lunr": "^1.0.0" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/preset-env": "^7.0.0", "babel-minify": "^0.2.0", "babelify": "^9.0.0", "browserify": "^14.3.0", "eslint": "^7.22.0", "expect": "^1.20.2", "lodash-cli": "^4.17.4", "mocha": "^5.2.0" }, "browserify": { "transform": [ [ "babelify" ] ] }, "directories": { "test": "tests" }, "repository": { "type": "git", "url": "git+https://github.com/itemsapi/itemsjs.git" }, "keywords": [ "full", "text", "fulltext", "search", "faceted search", "javascript", "search engine" ], "bugs": { "url": "https://github.com/itemsapi/itemsjs/issues" }, "homepage": "https://github.com/itemsapi/itemsjs#readme" }