@schematichq/schematic-react 0.2.0-rc.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +86 -0
- package/dist/schematic-react.cjs.js +909 -12566
- package/dist/schematic-react.d.ts +0 -2988
- package/dist/schematic-react.esm.js +892 -12581
- package/package.json +16 -30
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@schematichq/schematic-react",
|
3
|
-
"version": "0.
|
3
|
+
"version": "1.0.0",
|
4
4
|
"main": "dist/schematic-react.cjs.js",
|
5
5
|
"module": "dist/schematic-react.esm.js",
|
6
6
|
"types": "dist/schematic-react.d.ts",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"dist/schematic-react.esm.js",
|
10
10
|
"dist/schematic-react.d.ts"
|
11
11
|
],
|
12
|
-
"author": "
|
12
|
+
"author": "Schematic <engineering@schematichq.com>",
|
13
13
|
"license": "MIT",
|
14
14
|
"repository": {
|
15
15
|
"type": "git",
|
@@ -18,8 +18,8 @@
|
|
18
18
|
"scripts": {
|
19
19
|
"dev": "yarn tsc --watch",
|
20
20
|
"build": "yarn tsc && yarn openapi && yarn format && yarn lint && yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
|
21
|
-
"build:cjs": "npx esbuild src/index.ts --bundle --
|
22
|
-
"build:esm": "npx esbuild src/index.ts --bundle --
|
21
|
+
"build:cjs": "npx esbuild src/index.ts --bundle --external:react --format=cjs --outfile=dist/schematic-react.cjs.js",
|
22
|
+
"build:esm": "npx esbuild src/index.ts --bundle --external:react --format=esm --outfile=dist/schematic-react.esm.js",
|
23
23
|
"build:types": "npx tsc && npx api-extractor run",
|
24
24
|
"clean": "rm -rf dist",
|
25
25
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
@@ -29,30 +29,18 @@
|
|
29
29
|
"tsc": "npx tsc"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@schematichq/schematic-js": "^0.
|
33
|
-
"@stripe/react-stripe-js": "^2.8.0",
|
34
|
-
"@stripe/stripe-js": "^4.3.0",
|
35
|
-
"lodash.merge": "^4.6.2",
|
36
|
-
"pako": "^2.1.0",
|
37
|
-
"pluralize": "^8.0.0",
|
38
|
-
"styled-components": "^6.1.13"
|
32
|
+
"@schematichq/schematic-js": "^1.0.0"
|
39
33
|
},
|
40
34
|
"devDependencies": {
|
41
|
-
"@
|
42
|
-
"@
|
43
|
-
"@
|
44
|
-
"@types/
|
45
|
-
"@
|
46
|
-
"@
|
47
|
-
"
|
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",
|
35
|
+
"@microsoft/api-extractor": "^7.47.9",
|
36
|
+
"@openapitools/openapi-generator-cli": "^2.13.9",
|
37
|
+
"@types/jest": "^29.5.13",
|
38
|
+
"@types/react": "^18.3.9",
|
39
|
+
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
40
|
+
"@typescript-eslint/parser": "^8.7.0",
|
41
|
+
"esbuild": "^0.24.0",
|
54
42
|
"esbuild-jest": "^0.5.0",
|
55
|
-
"eslint": "^8.57.
|
43
|
+
"eslint": "^8.57.1",
|
56
44
|
"eslint-plugin-import": "^2.30.0",
|
57
45
|
"eslint-plugin-react-hooks": "^4.6.2",
|
58
46
|
"jest": "^29.7.0",
|
@@ -60,14 +48,12 @@
|
|
60
48
|
"jest-esbuild": "^0.3.0",
|
61
49
|
"jest-fetch-mock": "^3.0.3",
|
62
50
|
"prettier": "^3.3.3",
|
63
|
-
"react": "^18.
|
64
|
-
"react-dom": "^18.2.0",
|
51
|
+
"react": "^18.3.1",
|
65
52
|
"ts-jest": "^29.2.5",
|
66
|
-
"typescript": "^5.
|
53
|
+
"typescript": "^5.6.2"
|
67
54
|
},
|
68
55
|
"peerDependencies": {
|
69
|
-
"react": ">=18"
|
70
|
-
"react-dom": ">=18"
|
56
|
+
"react": ">=18"
|
71
57
|
},
|
72
58
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
73
59
|
}
|