UNPKG

@sajari/sdk-react

Version:
152 lines (151 loc) 4.27 kB
{ "name": "@sajari/sdk-react", "description": "React SDK for the Sajari API", "license": "MIT", "contributors": [ "Sajari Support <support@sajari.com> (https://www.sajari.com)" ], "homepage": "https://github.com/sajari/sajari-sdk-react", "repository": { "type": "git", "url": "https://github.com/sajari/sajari-sdk-react" }, "bugs": "https://github.com/sajari/sajari-sdk-react/issues", "version": "2.9.1", "main": "./dist/index.cjs.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "files": [ "dist/*" ], "scripts": { "build": "cross-env NODE_ENV=production rollup -c", "docs:dev": "docz dev", "docs": "docz build && echo \"/* /index.html 200\" > .docz/dist/_redirects ", "fmt": "prettier --write --config .prettierrc.js \"src/**/*.{ts,tsx}\"", "lint": "tslint -p tsconfig.json -c tslint.json --fix \"src/**/*.{ts,tsx}\"", "test": "jest", "type-check": "tsc --noEmit", "prepublishOnly": "npm-run-all test build" }, "dependencies": { "@emotion/core": "^10.0.10", "@emotion/styled": "^10.0.10", "@sajari/sdk-js": "^1.0.8", "chroma-js": "^1.4.0", "classnames": "^2.2.6", "downshift": "^2.2.2", "emotion-theming": "^10.0.10", "fast-memoize": "^2.5.1", "i18next": "^11.9.0", "i18next-browser-languagedetector": "^2.2.3", "js-cookie": "^2.2.0", "rc-slider": "^9.2.4", "react-aria-live": "^2.0.2", "react-select": "^2.0.0" }, "peerDependencies": { "react": "^16.3.2", "react-dom": "^16.3.2" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.8.3", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.0.0", "@types/classnames": "^2.2.7", "@types/enzyme": "^3.1.13", "@types/i18next": "^11.9.0", "@types/jest": "^23.3.2", "@types/rc-slider": "^8.6.5", "@types/react": "^16.4.14", "@types/react-dom": "^16.0.7", "babel-core": "^7.0.0-0", "babel-jest": "^23.6.0", "babel-loader": "^8.0.2", "babel-plugin-emotion": "^9.2.8", "cross-env": "^5.2.0", "docz": "^0.13.7", "docz-theme-default": "^0.13.7", "enzyme": "^3.6.0", "enzyme-adapter-react-16": "^1.5.0", "html-webpack-plugin": "^3.2.0", "jest": "^23.6.0", "jsdom": "^12.0.0", "npm-run-all": "^4.1.3", "prettier": "^1.14.2", "prop-types": "^15.6.2", "react": "^16.5.0", "react-axe": "^3.0.1", "react-dom": "^16.5.0", "react-router-dom": "^4.3.1", "rollup": "^0.66.2", "rollup-plugin-analyzer": "^2.1.0", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.1.6", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sizes": "^0.4.2", "rollup-plugin-typescript2": "^0.17.0", "ts-jest": "^23.1.4", "tslint": "^5.11.0", "tslint-config-prettier": "^1.15.0", "tslint-react": "^3.6.0", "typescript": "^3.8.2", "webpack": "^4.18.0", "webpack-serve": "^2.0.2" }, "keywords": [ "autocomplete", "match", "realtime", "recommend", "sajari", "search", "search api", "site search", "website search" ], "authors": [ { "name": "Trent Billington", "email": "tbillington@sajari.com", "url": "https://www.sajari.com" }, { "name": "David Howden", "email": "dhowden@sajari.com", "url": "https://www.sajari.com" }, { "name": "Ben Hinchley", "email": "bhinchley@sajari.com", "url": "https://www.sajari.com" } ], "jest": { "setupFiles": [ "./jestsetup.js" ], "moduleFileExtensions": [ "ts", "tsx", "js" ], "transformIgnorePatterns": [ "<rootDir>/node_modules/(?!lodash-es)" ], "transform": { "^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest", "^.+\\.tsx?$": "ts-jest" }, "testMatch": [ "**/?(*.)(spec|test).ts?(x)" ] } }