@schematichq/schematic-react 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -12,6 +12,8 @@
12
12
  "esbuild": "^0.19.9",
13
13
  "esbuild-jest": "^0.5.0",
14
14
  "eslint": "^8.55.0",
15
+ "eslint-plugin-import": "^2.29.1",
16
+ "eslint-plugin-react-hooks": "^4.6.0",
15
17
  "jest": "^29.7.0",
16
18
  "jest-environment-jsdom": "^29.7.0",
17
19
  "jest-esbuild": "^0.3.0",
@@ -32,17 +34,17 @@
32
34
  },
33
35
  "scripts": {
34
36
  "build": "npx tsc && yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
35
- "build:cjs": "npx esbuild src/index.tsx --bundle --format=cjs --outfile=dist/schematic-react.cjs.js",
36
- "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",
37
39
  "build:types": "npx tsc && npx api-extractor run",
38
40
  "clean": "rm -rf dist",
39
41
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
40
42
  "test": "jest --config jest.config.js"
41
43
  },
42
44
  "types": "dist/schematic-react.d.ts",
43
- "version": "0.1.1",
45
+ "version": "0.1.3",
44
46
  "dependencies": {
45
- "@schematichq/schematic-js": "^0.1.2"
47
+ "@schematichq/schematic-js": "^0.1.3"
46
48
  },
47
49
  "peerDependencies": {
48
50
  "react": ">=18"