Skip to content

Commit

Permalink
install dompurify in lib/ui-react package
Browse files Browse the repository at this point in the history
  • Loading branch information
BolajiOlajide committed Jul 31, 2024
1 parent 265c5ec commit 62b3793
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions lib/ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist", "src", "!**/*.test.*", "!**/*.story.*", "!dist/**/*.ts?(x)", "dist/**/*.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",
Expand All @@ -24,9 +31,11 @@
"@openctx/schema": "workspace:*",
"@openctx/ui-common": "workspace:*",
"@openctx/ui-standalone": "workspace:*",
"clsx": "^2.1.0"
"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",
Expand Down

0 comments on commit 62b3793

Please sign in to comment.