UNPKG

react-use-flexsearch

Version:
65 lines (64 loc) 1.66 kB
{ "name": "react-use-flexsearch", "version": "0.1.1", "description": "React hook to search a FlexSearch index", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "scripts": { "build": "NODE_ENV=production rollup -c", "build:watch": "npm run build -- --watch", "format": "prettier --write 'src/**/*.js' 'rollup.config.js' 'README.md'", "prebuild": "rimraf dist", "prepublish": "npm run build", "release": "standard-version", "test": "jest", "test:watch": "npm run test -- --watch" }, "homepage": "https://github.com/angeloashmore/react-use-flexsearch", "repository": { "type": "git", "url": "https://github.com/angeloashmore/react-use-flexsearch.git" }, "keywords": [ "react", "component", "search", "flexsearch" ], "author": "Angelo Ashmore", "license": "MIT", "dependencies": { "flexsearch": "^0.6.22" }, "devDependencies": { "@babel/core": "^7.3.3", "@babel/preset-env": "^7.3.1", "@commitlint/cli": "^7.5.2", "@commitlint/config-conventional": "^7.5.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.1.0", "husky": "^1.3.1", "jest": "^24.1.0", "prettier": "^1.16.4", "react": "^16.8.2", "react-dom": "^16.8.2", "react-testing-library": "^5.8.0", "rimraf": "^2.6.3", "rollup": "^1.1.2", "rollup-plugin-babel": "4.3.2", "standard-version": "^5.0.2" }, "peerDependencies": { "react": ">=16.8" }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] } }