-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
128 lines (128 loc) · 3.39 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
{
"name": "@mapbox/mr-ui",
"version": "2.12.0",
"description": "UI components for Mapbox projects",
"main": "index.js",
"homepage": "./",
"scripts": {
"start": "scripts/build-module-indexes.js && scripts/build-docs-data.js && react-app-rewired start",
"build-docs": "scripts/build-module-indexes.js && scripts/build-docs-data.js && react-app-rewired build",
"build": "scripts/build-module-indexes.js && scripts/build-package.js",
"deploy-docs": "npm run build-docs && gh-pages -d build",
"test": "react-app-rewired test",
"format": "prettier --write '**/*.(j|t)s'",
"lint": "eslint .",
"pretest": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/mr-ui.git"
},
"keywords": [
"mapbox",
"react",
"components"
],
"author": "Mapbox",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/mapbox/mr-ui/issues"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.14.0 || ^18.2.0",
"react-dom": "^16.14.0 || ^18.2.0"
},
"dependencies": {
"@mapbox/mbx-assembly": "^1.6.0",
"@mapbox/query-selector-contains-node": "^1.0.0",
"@mapbox/react-submittable": "^3.0.1",
"@radix-ui/react-accessible-icon": "^1.0.3",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-portal": "^1.0.4",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-visually-hidden": "^1.0.3",
"classnames": "^2.2.6",
"clipboard": "^2.0.0",
"debounce": "^1.1.0",
"os-key": "^1.0.0",
"select": "^1.1.2",
"shallow-equal": "^1.2.1"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
"@mapbox/jsxtreme-markdown": "^0.9.3",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^16.11.43",
"@types/react": "^17.0.47",
"@types/react-dom": "^18.0.6",
"del": "^3.0.0",
"delay": "^3.0.0",
"execa": "^0.10.0",
"gh-pages": "^1.2.0",
"globby": "^10.0.0",
"hard-rejection": "^1.0.0",
"highlight.js": "^11.6.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"make-dir": "^1.3.0",
"pify": "^3.0.0",
"prettier": "^2.3.1",
"prismjs": "^1.15.0",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-docgen": "^5.4.3",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^4.7.4",
"web-vitals": "^2.1.4"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.ts?(x)"
],
"rules": {
"no-unused-vars": [
2
]
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}