@gait-financial/react 0.0.16
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 +103 -0
- package/dist/index.cjs +199 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +123 -0
- package/dist/index.d.ts +123 -0
- package/dist/index.js +168 -0
- package/dist/index.js.map +1 -0
- package/dist/register.cjs +59 -0
- package/dist/register.cjs.map +1 -0
- package/dist/register.d.cts +20 -0
- package/dist/register.d.ts +20 -0
- package/dist/register.js +33 -0
- package/dist/register.js.map +1 -0
- package/dist/wc/button.js +940 -0
- package/package.json +65 -0
- package/wc/button.js +940 -0
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gait-financial/react",
|
|
3
|
+
"version": "0.0.16",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "React wrappers for Gait Web Components",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/index.d.cts",
|
|
18
|
+
"default": "./dist/index.cjs"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"./register": {
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/register.d.ts",
|
|
24
|
+
"default": "./dist/register.js"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/register.d.cts",
|
|
28
|
+
"default": "./dist/register.cjs"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"wc"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "npm run copy:wc && tsup && npm run copy:wc-to-dist",
|
|
38
|
+
"copy:wc": "mkdir -p wc && cp ../../dist-web-component/button.js wc/button.js 2>/dev/null || echo 'Web component not built - run npm run build:web-component from root'",
|
|
39
|
+
"copy:wc-to-dist": "mkdir -p dist/wc && (test -f wc/button.js && cp wc/button.js dist/wc/) || true",
|
|
40
|
+
"dev": "tsup --watch"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": ">=18.0.0",
|
|
44
|
+
"react-dom": ">=18.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/react": "^19.0.0",
|
|
48
|
+
"@types/react-dom": "^19.0.0",
|
|
49
|
+
"react": "^19.2.0",
|
|
50
|
+
"react-dom": "^19.2.0",
|
|
51
|
+
"tsup": "^8.0.0",
|
|
52
|
+
"typescript": "~5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"gait-financial",
|
|
56
|
+
"react",
|
|
57
|
+
"gait-checkout",
|
|
58
|
+
"checkout",
|
|
59
|
+
"payment"
|
|
60
|
+
],
|
|
61
|
+
"license": "UNLICENSED",
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
}
|
|
65
|
+
}
|