@merit-systems/echo-react-sdk 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@merit-systems/echo-react-sdk",
3
+ "version": "1.0.1",
4
+ "description": "React SDK for Echo OAuth2 + PKCE authentication and token management",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "build": "vite build && tsc --emitDeclarationOnly",
21
+ "dev": "vite build --watch",
22
+ "type-check": "tsc --noEmit",
23
+ "lint": "eslint src --ext .ts,.tsx",
24
+ "format": "prettier --write src",
25
+ "test": "vitest run",
26
+ "test:ui": "vitest --ui",
27
+ "test:security": "vitest run --config vitest.security.config.ts",
28
+ "test:integration": "vitest run --config vitest.integration.config.ts",
29
+ "test:coverage": "vitest run --coverage",
30
+ "storybook": "storybook dev -p 6006",
31
+ "build-storybook": "storybook build"
32
+ },
33
+ "keywords": [
34
+ "react",
35
+ "oauth2",
36
+ "pkce",
37
+ "authentication",
38
+ "echo",
39
+ "sdk"
40
+ ],
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "author": "Merit Systems",
45
+ "license": "MIT",
46
+ "peerDependencies": {
47
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
48
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
49
+ "openai": "^4.0.0 || ^5.0.0"
50
+ },
51
+ "peerDependenciesMeta": {
52
+ "openai": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "dependencies": {
57
+ "@merit-systems/echo-typescript-sdk": "^1.0.0",
58
+ "dompurify": "^3.2.6",
59
+ "oidc-client-ts": "^3.2.1"
60
+ },
61
+ "devDependencies": {
62
+ "@storybook/addon-docs": "^9.0.10",
63
+ "@storybook/addon-onboarding": "^9.0.10",
64
+ "@storybook/react-vite": "^9.0.10",
65
+ "@testing-library/jest-dom": "^6.6.3",
66
+ "@testing-library/react": "^16.1.0",
67
+ "@testing-library/user-event": "^14.5.2",
68
+ "@types/jsdom": "^21.1.7",
69
+ "@types/jsonwebtoken": "^9.0.7",
70
+ "@types/react": "^18.3.12",
71
+ "@types/react-dom": "^18.3.1",
72
+ "@typescript-eslint/eslint-plugin": "^8.15.0",
73
+ "@typescript-eslint/parser": "^8.15.0",
74
+ "@vitejs/plugin-react": "^4.3.3",
75
+ "@vitest/coverage-v8": "^3.2.3",
76
+ "@vitest/ui": "^3.2.3",
77
+ "eslint": "^9.15.0",
78
+ "eslint-plugin-storybook": "^9.0.10",
79
+ "jsdom": "^26.0.0",
80
+ "jsonwebtoken": "^9.0.2",
81
+ "msw": "^2.6.4",
82
+ "prettier": "^3.3.3",
83
+ "storybook": "^9.0.10",
84
+ "terser": "^5.41.0",
85
+ "typescript": "^5.6.3",
86
+ "undici": "^6.19.8",
87
+ "vite": "^6.0.1",
88
+ "vite-plugin-dts": "^4.3.0",
89
+ "vitest": "^3.2.3",
90
+ "openai": "^4.0.0 || ^5.0.0"
91
+ }
92
+ }