-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
214 lines (214 loc) · 8.02 KB
/
Copy pathpackage.json
File metadata and controls
214 lines (214 loc) · 8.02 KB
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
{
"name": "@gusto/embedded-react-sdk",
"version": "0.48.3",
"homepage": "https://github.com/Gusto/embedded-react-sdk",
"bugs": {
"url": "https://github.com/Gusto/embedded-react-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Gusto/embedded-react-sdk.git"
},
"module": "./dist/index.js",
"type": "module",
"license": "MIT",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./*.css": {
"import": "./dist/*.css",
"require": "./dist/*.css"
},
"./endpoint-inventory.json": "./docs/reference/endpoint-inventory.json"
},
"files": [
"dist",
"docs/reference/endpoint-inventory.json",
"./README.md",
"./CHANGELOG.md"
],
"scripts": {
"build": "npm run build:clean && npm run i18n:generate && vite build",
"api-report:derive": "api-extractor run --local --config .reports/config/api-extractor.json",
"derive": "npm run build && npm run endpoints:derive && npm run api-report:derive && npm run docs:api:generate",
"endpoints:derive": "npx tsx ./build/deriveEndpointInventory.ts",
"endpoints:verify": "npx tsx ./build/deriveEndpointInventory.ts --verify",
"build:ci": "npm run build && npm run lint:check && npm run format:check && npm run test:ci",
"build:clean": "rm -rf ./dist && mkdir ./dist",
"commitlint": "commitlint --edit",
"adapter:docs:generate": "npx tsx ./build/generateAdapterPropDocs.ts",
"theme:docs:generate": "npx tsx ./build/generateThemeDocs.ts",
"watch:vite": "vite build --watch --mode development",
"watch:translations": "node ./build/translationWatcher.js",
"dev": "node ./build/prompt.js && npm run i18n:generate && npm-run-all --parallel watch:vite watch:translations",
"dev:setup": "npm link ../gws-flows/node_modules/react ../gws-flows/node_modules/react-dom && (cd ../gws-flows && yarn link -r ../embedded-react-sdk)",
"docs": "npm --prefix docs-site start",
"docs:build": "npm --prefix docs-site run build",
"docs:clear": "npm --prefix docs-site run clear",
"docs:events": "npx tsx ./build/eventTypeDocsEmitter.ts",
"docs:install": "npm --prefix docs-site install",
"docs:api:generate": "npm --prefix docs-site run typedoc",
"docs:lint": "npx tsx ./build/lintDocsFrontmatter.ts",
"docs:lint:markdown": "markdownlint-cli2",
"docs:lint:spell": "cspell lint --no-progress --no-must-find-files",
"docs:serve": "npm --prefix docs-site run serve",
"format": "prettier . --write --log-level warn",
"format:check": "prettier . --check --log-level warn",
"format:staged": "prettier --write --log-level warn",
"i18n:generate": "node ./build/interface.js",
"lint": "npm run lint:check -- --fix",
"lint:check": "eslint .",
"lint:staged": "eslint --fix --cache",
"pack": "npm run build && npm pack",
"release": "release-it",
"postversion": "git push",
"prepare": "husky",
"prepublishOnly": "npm run build",
"preversion": "npm test",
"test": "vitest",
"test:ci": "vitest --coverage",
"test:e2e": "playwright test",
"test:e2e:local": "playwright test --config playwright.local.config.ts",
"test:e2e:demo": "playwright test --config playwright.demo.config.ts",
"test:e2e:ui": "playwright test --ui",
"e2e:serve": "vite --config e2e/vite.config.ts",
"e2e:setup": "npx tsx e2e/scripts/runGlobalSetup.ts",
"e2e:refresh-token": "npx tsx e2e/scripts/refreshToken.ts",
"scenarios:types": "json2ts e2e/scenarios/schema/scenario.schema.json -o e2e/scenarios/schema/scenario.types.ts",
"scenarios:validate": "node e2e/scenarios/scripts/validate.mjs",
"e2e:scenarios:prewarm": "npx tsx e2e/scenario/scripts.ts prewarm",
"test:scenarios": "vitest run --config vitest.scenario.config.ts",
"tsc": "tsc --pretty",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"sdk-app": "npx tsx sdk-app/scripts/start.ts dev --env=demo",
"sdk-app:demo": "npx tsx sdk-app/scripts/start.ts dev --env=demo",
"sdk-app:staging": "npx tsx sdk-app/scripts/start.ts dev --env=staging",
"sdk-app:local": "npx tsx sdk-app/scripts/start.ts dev --env=local",
"sdk-app-prod": "npx tsx sdk-app/scripts/start.ts prod --env=demo",
"sdk-app:build": "vite build --config sdk-app/vite.config.ts",
"sdk-app:setup": "npx tsx sdk-app/scripts/setup.ts",
"sdk-app:analyze-props": "npx tsx sdk-app/scripts/analyze-component-props.ts"
},
"devDependencies": {
"@commitlint/cli": "^21.0.2",
"@commitlint/config-conventional": "^21.0.2",
"@eslint/js": "^9.39.2",
"@microsoft/api-extractor": "^7.58.9",
"@playwright/test": "^1.61.0",
"@release-it/conventional-changelog": "^11.0.1",
"@storybook/addon-a11y": "^10.4.6",
"@storybook/addon-docs": "^10.4.6",
"@storybook/addon-onboarding": "^10.4.6",
"@storybook/react-vite": "^10.4.6",
"@storybook/test-runner": "^0.24.4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
"@types/jest": "^30.0.0",
"@types/jest-axe": "^3.5.9",
"@types/pngjs": "^6.0.5",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/parser": "^8.61.1",
"@typescript-eslint/rule-tester": "^8.61.1",
"@typescript-eslint/utils": "^8.61.0",
"@vitejs/plugin-react-swc": "^4.3.1",
"@vitest/coverage-v8": "^4.1.9",
"ajv": "^8.20.0",
"axe-core": "^4.12.1",
"cspell": "^10.0.1",
"dotenv": "^17.4.2",
"eslint": "^9.39.4",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.4.24",
"eslint-plugin-storybook": "^10.4.6",
"eslint-plugin-tsdoc": "^0.5.2",
"fuse.js": "^7.4.2",
"globals": "^17.6.0",
"husky": "^9.1.7",
"jest-axe": "^9.0.0",
"jsdom": "^26.1.0",
"jsdom-testing-mocks": "^1.16.0",
"json-schema-to-typescript": "^15.0.4",
"lint-staged": "^17.0.7",
"markdownlint-cli2": "^0.22.1",
"msw": "^2.14.6",
"npm-run-all": "^4.1.5",
"pixelmatch": "^7.2.0",
"pngjs": "^7.0.0",
"prettier": "^3.8.4",
"prism-react-renderer": "^2.4.1",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-router-dom": "^7.18.0",
"release-it": "^20.2.0",
"sass-embedded": "^1.100.0",
"storybook": "^10.4.4",
"stylelint-config-standard": "^40.0.0",
"ts-morph": "^28.0.0",
"tsx": "^4.22.4",
"typescript-eslint": "^8.61.1",
"vite": "^6.4.3",
"vite-plugin-checker": "^0.14.4",
"vite-plugin-circular-dependency": "^0.6.0",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-externalize-deps": "^0.10.0",
"vite-plugin-stylelint": "^6.1.0",
"vite-plugin-svgr": "^5.2.0",
"vitest": "^4.1.9",
"yaml": "^2.9.0"
},
"peerDependencies": {
"@tanstack/react-query": "^5",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"typescript": "^5.8.3"
},
"overrides": {
"esbuild": "^0.28.1",
"js-yaml": "^4.2.0",
"uuid": "^11.1.1",
"@babel/core": "^7.29.6",
"markdown-it": "^14.2.0"
},
"dependencies": {
"@gusto/embedded-api-v-2025-11-15": "^0.0.2",
"@hookform/error-message": "^2.0.1",
"@hookform/resolvers": "^5.4.0",
"@internationalized/date": "^3.12.2",
"@internationalized/number": "^3.6.7",
"classnames": "^2.5.1",
"deepmerge": "^4.3.1",
"dompurify": "^3.4.11",
"i18next": "^26.3.1",
"react-aria": "^3.47.0",
"react-aria-components": "1.16.0",
"react-error-boundary": "^6.1.2",
"react-hook-form": "^7.79.0",
"react-i18next": "^17.0.8",
"react-robot": "^1.2.1",
"robot3": "^1.2.0",
"zod": "^4.3.6"
},
"sideEffects": [
"**/*.scss",
"**/*.css",
"src/contexts/ThemeProvider/ThemeProvider.tsx",
"src/helpers/rem.ts"
],
"msw": {
"workerDirectory": [
"e2e",
"e2e/public",
"sdk-app/public"
]
}
}