@schematichq/schematic-react 0.1.8 → 0.2.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -4,11 +4,15 @@
4
4
  "module": "dist/schematic-react.esm.js",
5
5
  "author": "Ben Papillon <ben@schematichq.com>",
6
6
  "devDependencies": {
7
+ "@craftjs/core": "^0.2.8",
7
8
  "@microsoft/api-extractor": "^7.38.3",
9
+ "@openapitools/openapi-generator-cli": "^2.13.4",
8
10
  "@types/jest": "^29.5.11",
11
+ "@types/pako": "^2.0.3",
9
12
  "@types/react": "^18.2.48",
10
13
  "@typescript-eslint/eslint-plugin": "^6.19.1",
11
14
  "@typescript-eslint/parser": "^6.13.2",
15
+ "classnames": "^2.5.1",
12
16
  "esbuild": "^0.19.9",
13
17
  "esbuild-jest": "^0.5.0",
14
18
  "eslint": "^8.55.0",
@@ -18,7 +22,9 @@
18
22
  "jest-environment-jsdom": "^29.7.0",
19
23
  "jest-esbuild": "^0.3.0",
20
24
  "jest-fetch-mock": "^3.0.3",
25
+ "prettier": "^3.3.3",
21
26
  "react": "^18.2.0",
27
+ "react-dom": "^18.2.0",
22
28
  "ts-jest": "^29.1.1",
23
29
  "typescript": "^5.0.2"
24
30
  },
@@ -33,20 +39,27 @@
33
39
  "url": "git+ssh://git@github.com/SchematicHQ/schematic-js.git"
34
40
  },
35
41
  "scripts": {
36
- "build": "npx tsc && yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
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",
42
+ "build": "yarn tsc && yarn openapi && yarn format && yarn lint && yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
43
+ "build:cjs": "npx esbuild src/index.ts --bundle --external:react --format=cjs --outfile=dist/schematic-react.cjs.js",
44
+ "build:esm": "npx esbuild src/index.ts --bundle --external:react --format=esm --outfile=dist/schematic-react.esm.js",
39
45
  "build:types": "npx tsc && npx api-extractor run",
40
46
  "clean": "rm -rf dist",
47
+ "format": "prettier --write \"src/**/*.{ts,tsx}\"",
41
48
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
42
- "test": "jest --config jest.config.js"
49
+ "openapi": "npx openapi-generator-cli generate -c openapi-config.yaml",
50
+ "test": "jest --config jest.config.js",
51
+ "tsc": "npx tsc"
43
52
  },
44
53
  "types": "dist/schematic-react.d.ts",
45
- "version": "0.1.8",
54
+ "version": "0.2.0-rc.0",
46
55
  "dependencies": {
47
- "@schematichq/schematic-js": "^0.1.10"
56
+ "@schematichq/schematic-js": "^0.1.12",
57
+ "pako": "^2.1.0",
58
+ "styled-components": "^6.1.12"
48
59
  },
49
60
  "peerDependencies": {
50
- "react": ">=18"
51
- }
61
+ "react": ">=18",
62
+ "react-dom": ">=18"
63
+ },
64
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
52
65
  }