mirror of
https://github.com/fergalmoran/turnstone.git
synced 2026-01-01 22:59:38 +00:00
95 lines
2.3 KiB
JSON
95 lines
2.3 KiB
JSON
{
|
|
"name": "turnstone",
|
|
"version": "1.0.2",
|
|
"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"],
|
|
"files": [
|
|
"dist",
|
|
"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/tomsouthall/turnstone#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tomsouthall/turnstone"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"test": "vitest run",
|
|
"watch": "vitest",
|
|
"coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"escape-string-regexp": "^5.0.0",
|
|
"first-of-type": "^1.0.0",
|
|
"prop-types": "^15.8.1",
|
|
"react-use": "^17.3.2",
|
|
"setify": "^1.0.4",
|
|
"split-match": "^0.2.2",
|
|
"swr": "^1.1.2",
|
|
"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",
|
|
"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": {
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"react/prop-types": 0
|
|
}
|
|
}
|
|
}
|