forked from hashicorp/dev-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
223 lines (223 loc) · 7.77 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
{
"name": "dev-portal",
"private": "true",
"scripts": {
"build:deploy-preview": "npx --package @hashicorp/platform-tools@0.5.0 hc-tools --resolve-paths false ./scripts/content-repo-preview/build.ts",
"build:webpack-only": "npm run prebuild && hc-tools next-build-webpack-only",
"build": "next build",
"clean": "rimraf .next node_modules",
"lint": "next-hashicorp lint",
"lint:stylelint": "npx stylelint '**/*.css'",
"prebuild": "hc-tools ./scripts/remove-inactive-product-pages.ts && hc-tools ./scripts/generate-tutorial-variant-map.ts",
"prepare": "simple-git-hooks",
"prestart": "hc-tools ./scripts/generate-tutorial-variant-map.ts",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"postbuild": "hc-tools ./scripts/capture-build-metrics.ts dev-portal && next-sitemap",
"rewrite-docs-content-links": "hc-tools ./scripts/docs-content-link-rewrites/rewrite-links.ts",
"sitemap": "next-sitemap",
"start:consul": "cross-env DEV_IO=consul npm run start",
"start:local-preview": "./scripts/content-repo-preview/start.sh",
"start:nomad": "cross-env DEV_IO=nomad npm run start",
"start:packer": "cross-env DEV_IO=packer npm run start",
"start:sentinel": "cross-env DEV_IO=sentinel npm run start",
"start:vagrant": "cross-env DEV_IO=vagrant npm run start",
"start:vault": "cross-env DEV_IO=vault npm run start",
"start:waypoint": "cross-env DEV_IO=waypoint npm run start",
"start:with-axe": "AXE_ENABLED=true npm start",
"start": "next",
"start:remote-watch": "npm run prestart && next-remote-watch ../content ../data",
"serve": "next build && next start",
"test:e2e": "playwright test --project default",
"test:e2e:linkRewrites:loadData": "hc-tools ./scripts/docs-content-link-rewrites/generate-page-paths-for-repo-and-base-path.ts",
"test:e2e:linkRewrites": "npx playwright test --project docs-content-link-rewrites",
"test:watch": "jest --watch",
"test:cjs": "jest",
"test:esm": "TEST_ESM=true NODE_OPTIONS=--experimental-vm-modules jest",
"test": "npm run test:cjs && npm run test:esm",
"test:ci": "npm run test:cjs -- --runInBand && npm run test:esm -- --runInBand",
"typecheck": "tsc -p ."
},
"simple-git-hooks": {
"pre-commit": "npx next-hashicorp precommit && npm run typecheck"
},
"lint-staged": {
"*.+(js|jsx|ts|tsx)": [
"next-hashicorp format",
"next-hashicorp lint"
]
},
"engines": {
"npm": ">=8.0.0",
"node": ">=16.x <=18.x"
},
"devDependencies": {
"@axe-core/react": "^4.3.1",
"@datadog/datadog-api-client": "^1.0.0-beta.7",
"@hashicorp/platform-cli": "^2.7.2",
"@hashicorp/platform-configs": "^0.2.0",
"@hashicorp/platform-nextjs-plugin": "^4.2.0",
"@hashicorp/platform-postcss-config": "^0.2.0",
"@hashicorp/platform-tools": "^0.10.0",
"@hashicorp/platform-types": "^0.4.0",
"@octokit/rest": "^19.0.5",
"@playwright/test": "^1.28.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.4.3",
"@types/cors": "^2.8.12",
"@types/google-spreadsheet": "^3.2.2",
"@types/jest": "^27.4.1",
"@types/jsonwebtoken": "^8.5.9",
"@types/node": "^17.0.12",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@types/semver": "^7.3.9",
"@types/shortid": "^0.0.29",
"axe-core": "^4.4.1",
"babel-jest": "^27.4.6",
"cross-env": "^7.0.3",
"flat": "^5.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-raw-loader": "^1.0.1",
"next-remote-watch": "^2.0.0",
"nextjs-bundle-analysis": "^0.5.0-canary.1",
"nock": "^13.2.4",
"postcss": "^8.4.5",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^6.7.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.7.0",
"stylelint": "^13.8.0",
"typescript": "^4.5.5",
"yargs": "^17.6.2"
},
"dependencies": {
"@actions/core": "^1.9.1",
"@apidevtools/json-schema-ref-parser": "^9.0.9",
"@happykit/flags": "^3.1.1",
"@hashicorp/design-system-tokens": "^1.8.0",
"@hashicorp/flight-icons": "^2.18.0",
"@hashicorp/localstorage-polyfill": "^1.0.14",
"@hashicorp/mktg-global-styles": "^4.5.0",
"@hashicorp/mktg-logos": "^1.3.5",
"@hashicorp/platform-analytics": "^0.12.0",
"@hashicorp/platform-cms": "^0.4.0",
"@hashicorp/platform-code-highlighting": "^0.2.0",
"@hashicorp/platform-docs-mdx": "^0.2.0",
"@hashicorp/platform-edge-utils": "^0.1.1",
"@hashicorp/platform-markdown-utils": "^0.3.2",
"@hashicorp/platform-packer-plugins": "^0.3.0",
"@hashicorp/platform-product-meta": "^0.1.1",
"@hashicorp/platform-util": "^0.2.0",
"@hashicorp/react-alert-banner": "^7.1.0",
"@hashicorp/react-button": "^6.3.1",
"@hashicorp/react-code-block": "^6.4.0",
"@hashicorp/react-consent-manager": "^9.2.0",
"@hashicorp/react-docs-page": "^17.9.0",
"@hashicorp/react-docs-sidenav": "^9.1.0",
"@hashicorp/react-enterprise-alert": "^7.0.1",
"@hashicorp/react-error-view": "^0.2.0",
"@hashicorp/react-hashi-stack-menu": "^3.0.0",
"@hashicorp/react-head": "^3.3.2",
"@hashicorp/react-inline-svg": "^6.1.0",
"@hashicorp/react-marketo-form": "^0.9.0",
"@hashicorp/react-min-100-layout": "^2.0.1",
"@hashicorp/react-product-downloads-page": "^2.9.1",
"@hashicorp/react-search": "^6.5.0",
"@hashicorp/react-sentinel-embedded": "^2.0.0",
"@hashicorp/react-subnav": "^9.6.0",
"@hashicorp/react-tabs": "^8.0.0",
"@hashicorp/remark-plugins": "^4.1.1",
"@hashicorp/sentinel-embedded": "^0.0.14",
"@mapbox/rehype-prism": "^0.8.0",
"@octokit/core": "^3.5.1",
"@octokit/openapi-types": "^11.2.0",
"@reach/dialog": "^0.16.2",
"@reach/popover": "^0.16.2",
"@reach/portal": "^0.16.2",
"@reach/tabs": "^0.16.4",
"@reach/tooltip": "^0.17.0",
"@reach/visually-hidden": "^0.16.0",
"@react-aria/ssr": "^3.1.0",
"@react-aria/utils": "^3.11.0",
"@tanstack/react-query": "^4.1.3",
"@tanstack/react-query-devtools": "^4.0.10",
"@types/cors": "^2.8.12",
"@types/google-spreadsheet": "^3.2.2",
"@vercel/edge-config": "^0.2.1",
"@vercel/fetch": "^6.2.0",
"adm-zip": "^0.5.9",
"algoliasearch": "^4.13.0",
"bowser": "^2.11.0",
"change-case": "^4.1.2",
"classnames": "^2.3.1",
"cors": "^2.8.5",
"csstype": "^3.0.11",
"deepmerge-ts": "^4.2.2",
"framer-motion": "^7.5.1",
"google-spreadsheet": "^3.3.0",
"gray-matter": "^4.0.3",
"hast-util-sanitize": "^4.1.0",
"hast-util-to-html": "^7.1.3",
"http-status-codes": "^2.2.0",
"isomorphic-unfetch": "^3.1.0",
"joi": "^17.6.0",
"js-cookie": "^2.2.1",
"jsonwebtoken": "^8.5.1",
"klaw-sync": "^6.0.0",
"mdast": "^3.0.0",
"mdast-util-to-string": "^2.0.0",
"moize": "^6.1.0",
"ms": "^2.1.3",
"next": "^13.0.5",
"next-auth": "^4.23.1",
"next-mdx-remote": "^3.0.8",
"next-query-params": "^4.1.0",
"next-sitemap": "^3.1.21",
"next-themes": "^0.2.1",
"oas-normalize": "^8.4.1",
"openapi-types": "^12.1.3",
"p-map": "^4.0.0",
"probe-image-size": "^7.2.3",
"promise-polyfill": "^8.2.1",
"query-string": "^7.1.1",
"react": "^18.2.0",
"react-device-detect": "^2.1.2",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-hot-toast": "^2.2.0",
"react-instantsearch-hooks-web": "^6.33.0",
"react-intersection-observer": "^8.33.1",
"react-markdown": "^8.0.7",
"react-player": "^2.9.0",
"rehype-sanitize": "^5.0.1",
"remark-gfm": "^3.0.1",
"semver": "^7.3.5",
"shortid": "^2.2.16",
"slugify": "^1.6.4",
"swingset": "^0.17.0",
"unified": "^9.2.0",
"unist-util-is": "^5.1.1",
"unist-util-visit": "^4.1.0",
"unist-util-visit-children": "^1.1.4",
"use-query-params": "^2.1.2",
"zod": "^3.20.2"
},
"overrides": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"nextBundleAnalysis": {
"budget": null,
"budgetPercentIncreaseRed": 20,
"showDetails": true,
"minimumChangeThreshold": 300
},
"workspaces": [
"./scripts/docs-content-link-rewrites"
]
}