/
package.json
149 lines (149 loc) · 4.23 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "react-dadata",
"version": "2.23.1",
"description": "React-компонент для подсказок адресов, организаций и банков с помощью сервиса DaData.ru",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublishOnly": "npm run test && npm run build",
"clean": "rimraf dist",
"build:css": "postcss src/react-dadata.css -o dist/react-dadata.css",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
"build": "NODE_ENV=production run-s clean build:css build:cjs build:esm build:types",
"size-build": "npm run build:esm",
"test:lint": "eslint src",
"test:size-limit": "npm run build:esm && size-limit",
"test": "vitest --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vitalybaev/react-dadata.git"
},
"keywords": [
"react",
"reactjs",
"dadata",
"suggestions",
"autocomplete",
"address",
"party",
"bank"
],
"author": "Vitaly Baev <ping@baev.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/vitalybaev/react-dadata/issues"
},
"homepage": "https://vitalybaev.github.io/react-dadata/",
"dependencies": {
"debounce": "^1.2.1",
"highlight-words": "^1.2.1",
"nanoid": "^3.3.6",
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/helper-validator-identifier": "^7.19.1",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@size-limit/preset-small-lib": "^8.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^13.5.0",
"@types/debounce": "^1.2.1",
"@types/node": "^18.16.3",
"@types/react": "^18.2.0",
"@types/shallowequal": "^1.1.1",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitest/coverage-c8": "^0.31.0",
"core-js": "^3.30.1",
"cssnano": "^6.0.0",
"eslint": "^8.38.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"jsdom": "^22.0.0",
"msw": "^1.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.23",
"postcss-cli": "^10.0.0",
"postcss-preset-env": "^9.0.0",
"prettier": "^2.8.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"regenerator-runtime": "^0.13.11",
"rimraf": "^5.0.0",
"size-limit": "^8.0.0",
"typescript": "^5.0.4",
"vitest": "^0.31.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.0 || ^17.0 || ^18.0",
"react-dom": "^15.6 || ^16.0 || ^17.0 || ^18.0"
},
"size-limit": [
{
"name": "AddressSuggestions",
"path": "dist/esm/index.js",
"import": "{ AddressSuggestions }",
"limit": "6 KB"
},
{
"name": "PartySuggestions",
"path": "dist/esm/index.js",
"import": "{ PartySuggestions }",
"limit": "6 KB"
},
{
"name": "FioSuggestions",
"path": "dist/esm/index.js",
"import": "{ FioSuggestions }",
"limit": "6 KB"
},
{
"name": "BankSuggestions",
"path": "dist/esm/index.js",
"import": "{ BankSuggestions }",
"limit": "6 KB"
}
],
"eslintIgnore": [
"dist/*",
"setupTests.ts",
"vite.config.ts"
],
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"useTabs": false,
"semi": true,
"bracketSpacing": true
},
"browserslist": {
"production": [
">0.2%",
"ie 11",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"packageManager": "pnpm@8.6.7"
}