-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 3.32 KB
/
package.json
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
94
95
96
97
98
99
100
101
102
103
104
{
"name": "@contentstack/live-preview-utils",
"version": "3.0.1",
"description": "Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.",
"type": "module",
"types": "dist/legacy/index.d.ts",
"main": "dist/legacy/index.cjs",
"module": "dist/legacy/index.js",
"exports": {
".": {
"import": {
"types": "./dist/modern/index.d.ts",
"default": "./dist/modern/index.js"
},
"require": {
"types": "./dist/modern/index.d.cts",
"default": "./dist/modern/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "NODE_OPTIONS='--max-old-space-size=16384' tsup",
"test": "vitest",
"test:once": "vitest run",
"test:coverage": "vitest --coverage",
"dev": "tsup --watch",
"prepare": "husky install",
"lint": "eslint src",
"lint:fix": "eslint --fix",
"prettier": "prettier src --check",
"prettier:fix": "prettier src --write",
"format": "npm run prettier:fix && npm run lint:fix",
"docs": "typedoc --out docs --entryPointStrategy expand ./src"
},
"keywords": [
"live-preview"
],
"author": "Contentstack",
"license": "MIT",
"devDependencies": {
"@contentstack/advanced-post-message": "^0.0.2",
"@eslint/js": "^9.10.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/preact": "^3.2.4",
"@testing-library/user-event": "^14.5.2",
"@types/jsdom": "^21.1.6",
"@types/lodash-es": "^4.17.12",
"@types/mustache": "^4.2.2",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/ssri": "^7.1.5",
"@types/uuid": "^8.3.1",
"@vitest/coverage-v8": "^2.1.2",
"@vitest/ui": "^2.1.2",
"esbuild-plugin-file-path-extensions": "^2.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-react": "^7.36.0",
"globals": "^15.9.0",
"husky": "^8.0.0",
"jsdom": "^25.0.0",
"prettier": "^3.3.3",
"prettier-eslint": "^15.0.1",
"ssri": "^11.0.0",
"ts-node": "^10.9.2",
"tsc": "^2.0.4",
"tsup": "^8.0.1",
"tsx": "^4.19.1",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"typescript-eslint": "^8.5.0",
"vitest": "^2.1.0"
},
"repository": {
"type": "git",
"url": "https://github.com/contentstack/live-preview-sdk.git"
},
"dependencies": {
"@preact/compat": "^17.1.2",
"@preact/signals": "^1.2.2",
"classnames": "^2.5.1",
"deepsignal": "^1.5.0",
"goober": "^2.1.14",
"lodash-es": "^4.17.21",
"mustache": "^4.2.0",
"preact": "^10.19.5",
"uuid": "^8.3.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
},
"lint-staged": {
"src/**/*.{ts,css,md}": [
"npm run prettier:fix",
"npm run lint:fix"
]
}
}