forked from downshift-js/downshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.06 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "downshift",
"version": "0.0.0-semantically-released",
"description": "A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete components",
"main": "dist/downshift.cjs.js",
"react-native": "dist/downshift.native.cjs.js",
"module": "dist/downshift.esm.js",
"typings": "typings/index.d.ts",
"scripts": {
"add-contributor": "kcd-scripts contributors add",
"build": "npm run build:web --silent && npm run build:native --silent",
"build:web": "kcd-scripts build --bundle --p-react --no-clean --size-snapshot",
"build:native": "cross-env BUILD_REACT_NATIVE=true BUILD_FILENAME_SUFFIX=.native kcd-scripts build --bundle cjs --no-clean",
"lint": "kcd-scripts lint",
"test": "kcd-scripts test",
"test:cover": "kcd-scripts test --coverage",
"test:ssr": "kcd-scripts test --config other/ssr/jest.config.js --no-watch",
"test:update": "npm run test:cover -s -- --updateSnapshot",
"test:ts": "tsc --noEmit -p ./tsconfig.json",
"test:flow": "flow",
"test:flow:coverage": "flow-coverage-report",
"test:build": "jest --config other/misc-tests/jest.config.js",
"// FIXME: test:build": "jest --projects other/misc-tests other/react-native",
"test:cypress:dev": "npm-run-all --parallel --race docs:dev cy:open",
"pretest:cypress": "npm run docs:build --silent",
"test:cypress": "start-server-and-test docs:serve http://localhost:6006 cy:run",
"cy:run": "cypress run",
"cy:open": "cypress open",
"build-and-test": "npm run build -s && npm run test:build -s",
"docs:build": "docz build",
"docs:dev": "docz dev",
"docs:serve": "serve ./.docz/dist --listen 6006 --single",
"setup": "npm install && npm run validate",
"validate": "kcd-scripts validate lint,build-and-test,test:cover,test:ts,test:flow:coverage,test:ssr,test:cypress",
"precommit": "kcd-scripts precommit"
},
"files": [
"dist",
"typings",
"preact",
"flow-typed"
],
"keywords": [
"enhanced input",
"react",
"autocomplete",
"autosuggest",
"typeahead",
"dropdown",
"select",
"combobox",
"omnibox",
"accessibility",
"WAI-ARIA",
"multiselect",
"multiple selection"
],
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "MIT",
"peerDependencies": {
"react": ">=0.14.9"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"compute-scroll-into-view": "^1.0.9",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@babel/helpers": "^7.1.2",
"@types/react": "^16.4.14",
"babel-plugin-macros": "^2.4.2",
"babel-preset-react-native": "^5.0.0",
"buble": "0.19.3",
"cross-env": "^5.1.4",
"cypress": "^3.1.0",
"cypress-testing-library": "^2.2.2",
"docz": "^0.12.5",
"eslint-plugin-cypress": "^2.0.1",
"flow-bin": "^0.82.0",
"flow-coverage-report": "^0.6.0",
"jest-dom": "^2.0.2",
"kcd-scripts": "^0.45.0",
"npm-run-all": "^4.1.2",
"preact": "^8.2.6",
"preact-render-to-string": "^3.7.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-native": "^0.57.2",
"react-test-renderer": "^16.5.2",
"react-testing-library": "^5.2.0",
"serve": "^10.0.2",
"start-server-and-test": "^1.7.4",
"typescript": "^3.1.1"
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js",
"rules": {
"import/no-useless-path-segments": "off",
"import/no-unassigned-import": "off",
"max-lines": "off",
"no-eq-null": "off",
"eqeqeq": "off",
"react/jsx-indent": "off",
"complexity": [
"error",
12
]
}
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist",
".docz",
"typings"
],
"repository": {
"type": "git",
"url": "https://github.com/paypal/downshift.git"
},
"bugs": {
"url": "https://github.com/paypal/downshift/issues"
},
"homepage": "https://github.com/paypal/downshift#readme",
"flow-coverage-report": {
"includeGlob": [
"test/**/*.js"
],
"threshold": 90,
"type": [
"text"
]
}
}