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