This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
139 lines (139 loc) · 5.16 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
{
"name": "@mapbox/dr-ui",
"version": "6.7.1",
"description": "Mapbox frontend tools for documentation websites.",
"main": "index.js",
"scripts": {
"start": "NODE_ENV='test' budo ./src/test-cases-app/test-cases-app.js --dir ./src/test-cases-app --live --debug --pushstate -- -t babelify",
"cp-assembly": "del ./src/test-cases-app/dist && cpy node_modules/@mapbox/mbx-assembly-docs/dist/*.* ./src/test-cases-app/dist && cpy src/css/docs-prose.css ./src/test-cases-app/dist && cpy src/css/prism.css ./src/test-cases-app/dist && cpy ./src/test-cases-app/files/* ./src/test-cases-app/dist",
"build-theme-css": "node scripts/create-theme-css.js",
"budo": "budo test/app.js -l -d -P -- -t babelify",
"prestart": "npm run build-theme-css && npm run build-component-index && npm run cp-assembly",
"test": "npm run lint-md && npm run test-content && jest",
"build-component-index": "rtk-index ./src/components ./src/test-cases-app/component-index.js",
"lint": "eslint .",
"pretest": "npm run prepare-docs && npm run lint",
"format": "prettier --write '**/*.{js,css,html,json,yml,md}'",
"prebuild": "npm run build-theme-css",
"build": "scripts/build-module-indexes.js && scripts/build-package.js",
"prepare-docs": "cpy ./src/test-cases-app/files/* ./docs/src/pages/files/ && cpy CHANGELOG.md ./docs/src/pages/ --rename=changelog.md && scripts/build-module-indexes.js && scripts/build-docs-data.js",
"start-docs": "npm run prepare-docs && NODE_OPTIONS=--openssl-legacy-provider batfish start --config='docs/batfish.config.js'",
"build-docs": "npm run prepare-docs && NODE_OPTIONS=--openssl-legacy-provider batfish build --config='docs/batfish.config.js'",
"serve-static-docs": "NODE_OPTIONS=--openssl-legacy-provider batfish serve-static --config='docs/batfish.config.js'",
"deploy-docs": "npm run build-docs && gh-pages -d docs/_site",
"lint-md": "remark docs/src/pages/",
"test-content": "copyeditor docs/src/pages",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/dr-ui.git"
},
"author": "Mapbox",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/mapbox/dr-ui/issues"
},
"homepage": "https://github.com/mapbox/dr-ui#readme",
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@mapbox/appropriate-images-react": "^2.1.0",
"@mapbox/batfish": "^2.4.2",
"@mapbox/copyeditor": "^1.0.0-beta.5",
"@mapbox/eslint-config-docs": "^3.1.0",
"@mapbox/jsxtreme-markdown": "^3.0.2",
"@mapbox/prettier-config-docs": "^2.0.0",
"@mapbox/react-test-kitchen": "^0.4.0",
"@mapbox/rehype-prism": "^0.8.0",
"@mapbox/remark-config-docs": "^2.0.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babelify": "^10.0.0",
"budo": "^11.6.4",
"cpy": "^8.1.2",
"cpy-cli": "^3.1.1",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.40.0",
"eslint-plugin-xss": "^0.1.11",
"execa": "^5.1.1",
"gh-pages": "^3.2.3",
"hard-rejection": "^2.1.0",
"jest": "^26.6.3",
"lodash": "^4.17.21",
"make-dir": "^3.1.0",
"pify": "^5.0.0",
"prop-types": "^15.6.2",
"raw-loader": "^4.0.2",
"react-docgen": "^5.3.1",
"react-helmet": "^6.1.0",
"react-test-renderer": "^16.14.0",
"rehype-slug": "^4.0.1",
"unist-util-visit": "^2.0.3"
},
"dependencies": {
"@elastic/react-search-ui": "1.7.0",
"@elastic/react-search-ui-views": "1.7.0",
"@elastic/search-ui-site-search-connector": "1.7.0",
"@mapbox/mapbox-gl-supported": "^2.0.1",
"@mapbox/mr-ui": "^2.7.0",
"@sentry/browser": "^6.13.3",
"@sentry/tracing": "^6.13.3",
"classnames": "^2.3.1",
"compare-versions": "^3.6.0",
"debounce": "^1.2.1",
"downshift": "^6.1.7",
"github-slugger": "^1.4.0",
"hastscript": "^6.0.0",
"object.entries": "^1.1.6",
"prismjs": "^1.24.1",
"react-aria-modal": "^4.0.0",
"react-html-parser": "^2.0.2",
"remark": "^10.0.1",
"remark-frontmatter": "^3.0.0",
"remark-parse": "^9.0.0",
"remark-react": "^5.0.1",
"remove-markdown": "^0.3.0",
"slugg": "^1.2.1",
"slugify": "^1.6.0",
"unified": "^9.2.2",
"uuid": "^9.0.0"
},
"peerDependencies": {
"@mapbox/mbx-assembly-docs": "^0.5.0",
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"jest": {
"testRegex": ".*\\.test\\.js$",
"setupFiles": [
"./src/test-utils/jest-setup.js"
]
},
"browserslist": [
"last 4 Chrome versions",
"last 4 Firefox versions",
"last 4 Safari versions",
"last 2 Edge versions",
"last 2 iOS versions",
"last 2 Android versions",
"not IE 11",
"not dead"
],
"prettier": "@mapbox/prettier-config-docs",
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,html,json,yml,md}": "prettier --write"
},
"engines": {
"node": ">=18",
"npm": "^9"
}
}