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

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,39 +1,15 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-react",
3
+ "version": "0.2.0-rc.10",
3
4
  "main": "dist/schematic-react.cjs.js",
4
5
  "module": "dist/schematic-react.esm.js",
5
- "author": "Ben Papillon <ben@schematichq.com>",
6
- "devDependencies": {
7
- "@craftjs/core": "^0.2.10",
8
- "@microsoft/api-extractor": "^7.38.3",
9
- "@openapitools/openapi-generator-cli": "^2.13.4",
10
- "@types/jest": "^29.5.11",
11
- "@types/pako": "^2.0.3",
12
- "@types/react": "^18.2.79",
13
- "@types/react-dom": "^18.2.25",
14
- "@typescript-eslint/eslint-plugin": "^6.19.1",
15
- "@typescript-eslint/parser": "^6.13.2",
16
- "classnames": "^2.5.1",
17
- "esbuild": "^0.19.9",
18
- "esbuild-jest": "^0.5.0",
19
- "eslint": "^8.55.0",
20
- "eslint-plugin-import": "^2.29.1",
21
- "eslint-plugin-react-hooks": "^4.6.0",
22
- "jest": "^29.7.0",
23
- "jest-environment-jsdom": "^29.7.0",
24
- "jest-esbuild": "^0.3.0",
25
- "jest-fetch-mock": "^3.0.3",
26
- "prettier": "^3.3.3",
27
- "react": "^18.2.0",
28
- "react-dom": "^18.2.0",
29
- "ts-jest": "^29.1.1",
30
- "typescript": "^5.0.2"
31
- },
6
+ "types": "dist/schematic-react.d.ts",
32
7
  "files": [
33
8
  "dist/schematic-react.cjs.js",
34
9
  "dist/schematic-react.esm.js",
35
10
  "dist/schematic-react.d.ts"
36
11
  ],
12
+ "author": "Ben Papillon <ben@schematichq.com>",
37
13
  "license": "MIT",
38
14
  "repository": {
39
15
  "type": "git",
@@ -42,8 +18,8 @@
42
18
  "scripts": {
43
19
  "dev": "yarn tsc --watch",
44
20
  "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",
21
+ "build:cjs": "npx esbuild src/index.ts --bundle --loader:.ttf=dataurl --external:react --external:react-dom --external:@stripe/react-stripe-js --format=cjs --outfile=dist/schematic-react.cjs.js",
22
+ "build:esm": "npx esbuild src/index.ts --bundle --loader:.ttf=dataurl --external:react --external:react-dom --external:@stripe/react-stripe-js --format=esm --outfile=dist/schematic-react.esm.js",
47
23
  "build:types": "npx tsc && npx api-extractor run",
48
24
  "clean": "rm -rf dist",
49
25
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
@@ -52,12 +28,42 @@
52
28
  "test": "jest --config jest.config.js",
53
29
  "tsc": "npx tsc"
54
30
  },
55
- "types": "dist/schematic-react.d.ts",
56
- "version": "0.2.0-rc.1",
57
31
  "dependencies": {
58
- "@schematichq/schematic-js": "^0.1.13",
32
+ "@schematichq/schematic-js": "^0.1.14",
33
+ "@stripe/react-stripe-js": "^2.8.0",
34
+ "@stripe/stripe-js": "^4.3.0",
35
+ "lodash.merge": "^4.6.2",
59
36
  "pako": "^2.1.0",
60
- "styled-components": "^6.1.12"
37
+ "pluralize": "^8.0.0",
38
+ "styled-components": "^6.1.13"
39
+ },
40
+ "devDependencies": {
41
+ "@craftjs/core": "^0.2.10",
42
+ "@microsoft/api-extractor": "^7.47.7",
43
+ "@openapitools/openapi-generator-cli": "^2.13.5",
44
+ "@types/jest": "^29.5.12",
45
+ "@types/lodash.merge": "^4.6.9",
46
+ "@types/pako": "^2.0.3",
47
+ "@types/pluralize": "^0.0.33",
48
+ "@types/react": "^18.2.79",
49
+ "@types/react-dom": "^18.2.25",
50
+ "@typescript-eslint/eslint-plugin": "^6.19.1",
51
+ "@typescript-eslint/parser": "^6.13.2",
52
+ "classnames": "^2.5.1",
53
+ "esbuild": "^0.23.1",
54
+ "esbuild-jest": "^0.5.0",
55
+ "eslint": "^8.57.0",
56
+ "eslint-plugin-import": "^2.30.0",
57
+ "eslint-plugin-react-hooks": "^4.6.2",
58
+ "jest": "^29.7.0",
59
+ "jest-environment-jsdom": "^29.7.0",
60
+ "jest-esbuild": "^0.3.0",
61
+ "jest-fetch-mock": "^3.0.3",
62
+ "prettier": "^3.3.3",
63
+ "react": "^18.2.0",
64
+ "react-dom": "^18.2.0",
65
+ "ts-jest": "^29.2.5",
66
+ "typescript": "^5.5.4"
61
67
  },
62
68
  "peerDependencies": {
63
69
  "react": ">=18",