@schematichq/schematic-react 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@schematichq/schematic-react",
3
+ "main": "dist/schematic-react.cjs.js",
4
+ "module": "dist/schematic-react.esm.js",
5
+ "author": "Ben Papillon <ben@schematichq.com>",
6
+ "devDependencies": {
7
+ "@microsoft/api-extractor": "^7.38.3",
8
+ "@types/jest": "^29.5.11",
9
+ "@types/react": "^18.2.48",
10
+ "@typescript-eslint/eslint-plugin": "^6.19.1",
11
+ "@typescript-eslint/parser": "^6.13.2",
12
+ "esbuild": "^0.19.9",
13
+ "esbuild-jest": "^0.5.0",
14
+ "eslint": "^8.55.0",
15
+ "jest": "^29.7.0",
16
+ "jest-environment-jsdom": "^29.7.0",
17
+ "jest-esbuild": "^0.3.0",
18
+ "jest-fetch-mock": "^3.0.3",
19
+ "react": "^18.2.0",
20
+ "ts-jest": "^29.1.1",
21
+ "typescript": "^5.0.2"
22
+ },
23
+ "files": [
24
+ "dist/schematic-react.cjs.js",
25
+ "dist/schematic-react.esm.js",
26
+ "dist/schematic-react.d.ts"
27
+ ],
28
+ "license": "MIT",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+ssh://git@github.com/SchematicHQ/schematic-js.git"
32
+ },
33
+ "scripts": {
34
+ "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:types": "npx tsc && npx api-extractor run",
38
+ "clean": "rm -rf dist",
39
+ "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
40
+ "test": "jest --config jest.config.js"
41
+ },
42
+ "types": "dist/schematic-react.d.ts",
43
+ "version": "0.1.1",
44
+ "dependencies": {
45
+ "@schematichq/schematic-js": "^0.1.2"
46
+ },
47
+ "peerDependencies": {
48
+ "react": ">=18"
49
+ }
50
+ }