-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
113 lines (113 loc) · 2.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "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/tomsouthall/turnstone#readme",
"repository": {
"type": "git",
"url": "https://github.com/tomsouthall/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
}
}
}