@schematichq/schematic-react 0.2.0-rc.1 → 0.2.0-rc.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -7,7 +7,10 @@
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",
13
+ "@types/lodash.merge": "^4.6.9",
11
14
  "@types/pako": "^2.0.3",
12
15
  "@types/react": "^18.2.79",
13
16
  "@types/react-dom": "^18.2.25",
@@ -42,8 +45,8 @@
42
45
  "scripts": {
43
46
  "dev": "yarn tsc --watch",
44
47
  "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",
48
+ "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",
49
+ "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
50
  "build:types": "npx tsc && npx api-extractor run",
48
51
  "clean": "rm -rf dist",
49
52
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
@@ -53,13 +56,16 @@
53
56
  "tsc": "npx tsc"
54
57
  },
55
58
  "types": "dist/schematic-react.d.ts",
56
- "version": "0.2.0-rc.1",
59
+ "version": "0.2.0-rc.3",
57
60
  "dependencies": {
58
61
  "@schematichq/schematic-js": "^0.1.13",
62
+ "lodash.merge": "^4.6.2",
59
63
  "pako": "^2.1.0",
60
64
  "styled-components": "^6.1.12"
61
65
  },
62
66
  "peerDependencies": {
67
+ "@stripe/react-stripe-js": ">2",
68
+ "@stripe/stripe-js": ">4",
63
69
  "react": ">=18",
64
70
  "react-dom": ">=18"
65
71
  },