forked from Merit-Systems/echo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.98 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.98 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
{
"name": "@merit-systems/echo-react-sdk",
"version": "1.0.39",
"description": "React SDK for Echo OAuth2 + PKCE authentication and token management",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly",
"dev": "vite build --watch",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"format": "prettier --write src",
"test": "vitest run",
"test:unit": "vitest run",
"test:ui": "vitest --ui",
"test:security": "vitest run --config vitest.security.config.ts",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:coverage": "vitest run --coverage",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"publish:test": "pnpm publish --access public --dry-run",
"publish:real": "pnpm publish --access public",
"prepare": "sh -c 'if [ \"$CI\" = true ]; then echo \"Skipping prepare in CI\"; else tsup src/index.ts --dts --format esm,cjs --out-dir dist; fi'",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"react",
"oauth2",
"pkce",
"authentication",
"echo",
"sdk"
],
"publishConfig": {
"access": "public"
},
"author": "Merit Systems",
"license": "MIT",
"peerDependencies": {
"@ai-sdk/react": "^2.0.17",
"ai": "^5.0.19",
"openai": "^4.0.0 || ^5.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"openai": {
"optional": true
}
},
"dependencies": {
"@merit-systems/echo-typescript-sdk": "workspace:*",
"@ai-sdk/react": "^2.0.17",
"ai": "^5.0.19",
"dompurify": "^3.2.6",
"oidc-client-ts": "^3.2.1",
"react-oidc-context": "^3.3.0",
"swr": "^2.3.1"
},
"devDependencies": {
"@storybook/addon-docs": "^9.0.10",
"@storybook/addon-onboarding": "^9.0.10",
"@storybook/react-vite": "^9.0.10",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jsdom": "^21.1.7",
"@types/jsonwebtoken": "^9.0.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^3.2.3",
"@vitest/ui": "^3.2.3",
"eslint": "^9.15.0",
"eslint-plugin-storybook": "^9.0.10",
"jsdom": "^26.0.0",
"jsonwebtoken": "^9.0.2",
"msw": "^2.6.4",
"openai": "^4.0.0 || ^5.0.0",
"prettier": "^3.3.3",
"storybook": "^9.0.10",
"terser": "^5.41.0",
"typescript": "^5.6.3",
"undici": "^6.19.8",
"vite": "^6.0.1",
"vite-plugin-dts": "^4.3.0",
"vitest": "^3.2.3"
}
}