@schematichq/schematic-react 0.2.0-rc.1 → 0.2.0-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schematic-react.cjs.js +1510 -394
- package/dist/schematic-react.d.ts +403 -4
- package/dist/schematic-react.esm.js +1551 -433
- package/package.json +7 -3
package/package.json
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
"@craftjs/core": "^0.2.10",
|
8
8
|
"@microsoft/api-extractor": "^7.38.3",
|
9
9
|
"@openapitools/openapi-generator-cli": "^2.13.4",
|
10
|
+
"@stripe/react-stripe-js": "^2.8.0",
|
11
|
+
"@stripe/stripe-js": "^4.3.0",
|
10
12
|
"@types/jest": "^29.5.11",
|
11
13
|
"@types/pako": "^2.0.3",
|
12
14
|
"@types/react": "^18.2.79",
|
@@ -42,8 +44,8 @@
|
|
42
44
|
"scripts": {
|
43
45
|
"dev": "yarn tsc --watch",
|
44
46
|
"build": "yarn tsc && yarn openapi && yarn format && yarn lint && yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
|
45
|
-
"build:cjs": "npx esbuild src/index.ts --bundle --external:react --external:react-dom --format=cjs --outfile=dist/schematic-react.cjs.js",
|
46
|
-
"build:esm": "npx esbuild src/index.ts --bundle --external:react --external:react-dom --format=esm --outfile=dist/schematic-react.esm.js",
|
47
|
+
"build:cjs": "npx esbuild src/index.ts --bundle --external:react --external:react-dom --external:@stripe/react-stripe-js --format=cjs --outfile=dist/schematic-react.cjs.js",
|
48
|
+
"build:esm": "npx esbuild src/index.ts --bundle --external:react --external:react-dom --external:@stripe/react-stripe-js --format=esm --outfile=dist/schematic-react.esm.js",
|
47
49
|
"build:types": "npx tsc && npx api-extractor run",
|
48
50
|
"clean": "rm -rf dist",
|
49
51
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
@@ -53,13 +55,15 @@
|
|
53
55
|
"tsc": "npx tsc"
|
54
56
|
},
|
55
57
|
"types": "dist/schematic-react.d.ts",
|
56
|
-
"version": "0.2.0-rc.
|
58
|
+
"version": "0.2.0-rc.2",
|
57
59
|
"dependencies": {
|
58
60
|
"@schematichq/schematic-js": "^0.1.13",
|
59
61
|
"pako": "^2.1.0",
|
60
62
|
"styled-components": "^6.1.12"
|
61
63
|
},
|
62
64
|
"peerDependencies": {
|
65
|
+
"@stripe/stripe-js": ">4",
|
66
|
+
"@stripe/react-stripe-js": ">2",
|
63
67
|
"react": ">=18",
|
64
68
|
"react-dom": ">=18"
|
65
69
|
},
|