@schematichq/schematic-react 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schematic-react.cjs.js +28 -2818
- package/dist/schematic-react.d.ts +34 -0
- package/dist/schematic-react.esm.js +41 -2839
- package/package.json +4 -4
package/package.json
CHANGED
@@ -34,17 +34,17 @@
|
|
34
34
|
},
|
35
35
|
"scripts": {
|
36
36
|
"build": "npx tsc && yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
|
37
|
-
"build:cjs": "npx esbuild src/index.tsx --bundle --format=cjs --outfile=dist/schematic-react.cjs.js",
|
38
|
-
"build:esm": "npx esbuild src/index.tsx --bundle --format=esm --outfile=dist/schematic-react.esm.js",
|
37
|
+
"build:cjs": "npx esbuild src/index.tsx --bundle --external:react --format=cjs --outfile=dist/schematic-react.cjs.js",
|
38
|
+
"build:esm": "npx esbuild src/index.tsx --bundle --external:react --format=esm --outfile=dist/schematic-react.esm.js",
|
39
39
|
"build:types": "npx tsc && npx api-extractor run",
|
40
40
|
"clean": "rm -rf dist",
|
41
41
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
|
42
42
|
"test": "jest --config jest.config.js"
|
43
43
|
},
|
44
44
|
"types": "dist/schematic-react.d.ts",
|
45
|
-
"version": "0.1.
|
45
|
+
"version": "0.1.4",
|
46
46
|
"dependencies": {
|
47
|
-
"@schematichq/schematic-js": "^0.1.
|
47
|
+
"@schematichq/schematic-js": "^0.1.4"
|
48
48
|
},
|
49
49
|
"peerDependencies": {
|
50
50
|
"react": ">=18"
|