-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.24 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.24 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
{
"name": "@openctx/ui-react",
"version": "0.0.11",
"description": "OpenCtx React UI library",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/openctx",
"directory": "lib/ui-react"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src",
"!**/*.test.*",
"!**/*.story.*",
"!dist/**/*.ts?(x)",
"dist/**/*.d.ts"
],
"sideEffects": false,
"scripts": {
"prebuild": "mkdir -p dist && cp -R src/* dist/ && find dist/ -name '*.tsx' -delete",
"build": "pnpm run --silent prebuild && tsc --build",
"test": "vitest",
"storybook": "storybook dev --no-version-updates -p 5810",
"prepublishOnly": "tsc --build --clean && pnpm run build"
},
"dependencies": {
"@openctx/schema": "workspace:*",
"@openctx/ui-common": "workspace:*",
"@openctx/ui-standalone": "workspace:*",
"clsx": "^2.1.0",
"dompurify": "^3.1.6"
},
"devDependencies": {
"@types/dompurify": "^3.0.5",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": "^16.8.0 ^17 ^18",
"react-dom": "^16.8.0 ^17 ^18"
}
}