@getsupertab/supertab-js 3.0.0-beta.2
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/README.md +46 -0
- package/dist/pkg/prod/sdk-Ds6nrDir.js +33469 -0
- package/dist/pkg/prod/sdk.d.ts +460 -0
- package/dist/pkg/prod/sdk.js +4 -0
- package/dist/pkg/prod/sentry-DqG34jME.js +42 -0
- package/dist/pkg/prod/style-o8z2wF2u.js +4 -0
- package/package.json +114 -0
package/package.json
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@getsupertab/supertab-js",
|
|
3
|
+
"description": "Supertab.js: Supertab browser SDK with TypeScript support",
|
|
4
|
+
"author": "Supertab (https://supertab.co)",
|
|
5
|
+
"homepage": "https://docs.supertab.co",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"supertab",
|
|
8
|
+
"supertab-js",
|
|
9
|
+
"Supertab.js"
|
|
10
|
+
],
|
|
11
|
+
"browser": "dist/pkg/prod/sdk",
|
|
12
|
+
"types": "dist/pkg/prod/sdk.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/pkg/prod"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"registry": "https://registry.npmjs.org/"
|
|
19
|
+
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=22.13.1"
|
|
22
|
+
},
|
|
23
|
+
"version": "3.0.0-beta.2",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"dev": "vite --config .vite/vite.dev.config.ts",
|
|
27
|
+
"build": "npm run build:cdn",
|
|
28
|
+
"build:pkg": "tsc && vite build --config .vite/vite.pkg.config.ts",
|
|
29
|
+
"build:pkg:sbx": "TAPPER_ENV=sbx npm run build:pkg",
|
|
30
|
+
"build:pkg:stg": "TAPPER_ENV=stg npm run build:pkg",
|
|
31
|
+
"build:pkg:prod": "TAPPER_ENV=prod npm run build:pkg",
|
|
32
|
+
"build:pkg-demo": "tsc && vite build --config .vite/vite.pkg-demo.config.ts",
|
|
33
|
+
"build:pkg-demo:sbx": "TAPPER_ENV=sbx npm run build:pkg-demo",
|
|
34
|
+
"build:pkg-demo:stg": "TAPPER_ENV=stg npm run build:pkg-demo",
|
|
35
|
+
"build:pkg-demo:prod": "TAPPER_ENV=prod npm run build:pkg-demo",
|
|
36
|
+
"build:cdn": "tsc && vite build --config .vite/vite.cdn.config.ts",
|
|
37
|
+
"build:cdn:sbx": "TAPPER_ENV=sbx npm run build:cdn",
|
|
38
|
+
"build:cdn:stg": "TAPPER_ENV=stg npm run build:cdn",
|
|
39
|
+
"build:cdn:prod": "TAPPER_ENV=prod npm run build:cdn",
|
|
40
|
+
"build:all": "npm run build:cdn && npm run build:pkg && npm run build:pkg-demo",
|
|
41
|
+
"preview": "PREVIEW_BUILD=true npm run build:all && vite preview --config .vite/vite.preview.config.ts",
|
|
42
|
+
"preview:sbx": "TAPPER_ENV=sbx npm run preview",
|
|
43
|
+
"preview:stg": "TAPPER_ENV=stg npm run preview",
|
|
44
|
+
"preview:prod": "TAPPER_ENV=prod npm run preview",
|
|
45
|
+
"postinstall": "! test -f .env.local && test -z \"$CI\" && cp .env.example .env.local || echo \"Skipping creation of .env.local\"",
|
|
46
|
+
"storybook": "storybook dev -p 6006",
|
|
47
|
+
"build-storybook": "storybook build",
|
|
48
|
+
"prepare": "husky",
|
|
49
|
+
"lint": "eslint src",
|
|
50
|
+
"test:e2e": "testcafe",
|
|
51
|
+
"test:e2e:local": "testcafe --speed 0.5",
|
|
52
|
+
"test": "vitest",
|
|
53
|
+
"generate-api-schemas": "bin/generate-api-schemas",
|
|
54
|
+
"prepublishOnly": "npm run build:pkg:prod"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@emotion/cache": "^11.14.0",
|
|
58
|
+
"@emotion/react": "^11.14.0",
|
|
59
|
+
"@emotion/styled": "^11.14.0",
|
|
60
|
+
"@emotion/utils": "^1.4.2",
|
|
61
|
+
"@sentry/react": "^9.12.0",
|
|
62
|
+
"@xstate/react": "^5.0.2",
|
|
63
|
+
"focus-trap-react": "^11.0.3",
|
|
64
|
+
"i18next": "^24.2.3",
|
|
65
|
+
"i18next-browser-languagedetector": "^8.0.5",
|
|
66
|
+
"i18next-http-backend": "^3.0.2",
|
|
67
|
+
"react": "^18.3.1",
|
|
68
|
+
"react-dom": "^18.3.1",
|
|
69
|
+
"react-i18next": "^15.5.1",
|
|
70
|
+
"ts-case-convert": "^2.1.0",
|
|
71
|
+
"xstate": "^5.19.1",
|
|
72
|
+
"zod": "^3.24.2"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@getsupertab/eslint-config": "^1.1.1",
|
|
76
|
+
"@getsupertab/netlify-plugin-update-client-apps": "^1.1.3",
|
|
77
|
+
"@getsupertab/price-utils": "^1.1.0",
|
|
78
|
+
"@getsupertab/supertab-ds-components": "^2.6.9",
|
|
79
|
+
"@getsupertab/tapper-sdk": "^24.0.0",
|
|
80
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
81
|
+
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
82
|
+
"@semantic-release/git": "^10.0.1",
|
|
83
|
+
"@semantic-release/npm": "^12.0.1",
|
|
84
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
85
|
+
"@storybook/addon-essentials": "^8.4.0",
|
|
86
|
+
"@storybook/addon-interactions": "^8.6.0",
|
|
87
|
+
"@storybook/addon-links": "^8.6.12",
|
|
88
|
+
"@storybook/blocks": "^8.6.12",
|
|
89
|
+
"@storybook/builder-vite": "^8.3.6",
|
|
90
|
+
"@storybook/react": "^8.6.12",
|
|
91
|
+
"@storybook/react-vite": "^8.6.12",
|
|
92
|
+
"@storybook/test": "^8.6.12",
|
|
93
|
+
"@types/react": "^18.3.20",
|
|
94
|
+
"@types/react-dom": "^18.3.6",
|
|
95
|
+
"autoprefixer": "^10.4.21",
|
|
96
|
+
"dotenv": "^16.5.0",
|
|
97
|
+
"eslint": "^8.57.0",
|
|
98
|
+
"happy-dom": "^17.0.2",
|
|
99
|
+
"husky": "^9.1.7",
|
|
100
|
+
"lint-staged": "^15.5.0",
|
|
101
|
+
"msw-storybook-addon": "^2.0.3",
|
|
102
|
+
"postcss": "^8.5.3",
|
|
103
|
+
"semantic-release": "^24.2.3",
|
|
104
|
+
"storybook": "^8.6.7",
|
|
105
|
+
"tailwindcss": "^3.4.17",
|
|
106
|
+
"testcafe": "^3.7.2",
|
|
107
|
+
"typed-openapi": "^0.10.1",
|
|
108
|
+
"typescript": "^5.8.3",
|
|
109
|
+
"vite": "^6.3.4",
|
|
110
|
+
"vite-plugin-dts": "^4.5.3",
|
|
111
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
112
|
+
"vitest": "^3.0.5"
|
|
113
|
+
}
|
|
114
|
+
}
|