@webcodateam/turnstone
Version:
React customisable autocomplete component with typeahead and grouped results from multiple APIs.
114 lines (113 loc) • 2.63 kB
JSON
{
"name": "@webcodateam/turnstone",
"version": "2.2.0",
"description": "React customisable autocomplete component with typeahead and grouped results from multiple APIs.",
"author": "Tom Southall",
"keywords": [
"react",
"component",
"autocomplete",
"autosuggest",
"typeahead",
"dropdown",
"searchbox",
"multisearch",
"select",
"omnibox",
"turnstone"
],
"license": "MIT",
"files": [
"dist",
"LICENSE.md",
"README.md"
],
"main": "./dist/turnstone.umd.js",
"module": "./dist/turnstone.es.js",
"exports": {
".": {
"import": "./dist/turnstone.es.js",
"require": "./dist/turnstone.umd.js"
}
},
"homepage": "https://github.com/webcodavic/turnstone#readme",
"repository": {
"type": "git",
"url": "https://github.com/webcodavic/turnstone"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "npx eslint ./src/lib/ --ext .js,.jsx",
"test": "vitest run",
"watch": "vitest",
"coverage": "vitest run --coverage",
"prepare": "husky install"
},
"dependencies": {
"escape-string-regexp": "^5.0.0",
"first-of-type": "^1.0.0",
"prop-types": "^15.8.1",
"setify": "^1.0.4",
"split-match": "^0.2.2",
"swr": "^1.1.2",
"turnstone-recent-searches": "^0.5.0",
"use-debounce": "^7.0.1"
},
"devDependencies": {
"@testing-library/dom": "^8.11.3",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.5.0",
"@vitejs/plugin-react": "^1.0.7",
"c8": "^7.11.0",
"eslint": "^8.9.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"jsdom": "^19.0.0",
"msw": "^0.36.8",
"node-fetch": "^2.6.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"vite": "^2.8.0",
"vitest": "^0.3.4"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es2020": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console": 2,
"no-debugger": 2,
"semi": [
"error",
"never"
],
"react/prop-types": 0
}
}
}