-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.22 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "@hygraph/preview-sdk",
"version": "1.0.7",
"description": "Content preview SDK for seamless real-time content editing in Hygraph CMS",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.esm.js",
"require": "./dist/react/index.cjs.js"
},
"./core": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.esm.js",
"require": "./dist/core/index.cjs.js"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "node build.js",
"build:vite": "vite build",
"build:watch": "vite build --watch",
"dev": "vite build --watch",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"test": "vitest --run --passWithNoTests",
"test:ui": "vitest --ui",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build"
},
"keywords": [
"hygraph",
"cms",
"content",
"preview",
"react",
"vue",
"angular",
"vanilla",
"typescript"
],
"author": "Hygraph",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hygraph/preview-sdk.git"
},
"bugs": {
"url": "https://github.com/hygraph/preview-sdk/issues"
},
"homepage": "https://github.com/hygraph/preview-sdk#readme",
"peerDependencies": {
"react": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/react": "^19",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitest/ui": "^1.6.1",
"eslint": "^8.0.0",
"jsdom": "^24.0.0",
"react": "^19.1.0",
"terser": "^5.44.0",
"typescript": "^5.0.0",
"vite": "^5.0.0",
"vite-plugin-dts": "^3.0.0",
"vitest": "^1.6.1"
},
"dependencies": {
"morphdom": "^2.7.0"
}
}