-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) 路 2.46 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) 路 2.46 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
94
95
96
97
98
{
"name": "react-secure-html",
"version": "0.1.1",
"main": "dist/index.cjs",
"scripts": {
"test": "vitest --run",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"prepare": "husky",
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"prepublishOnly": "pnpm run build",
"version": "pnpm run build && git add -A dist",
"postversion": "git push && git push --tags",
"release": "semantic-release"
},
"keywords": [
"react",
"html",
"sanitize",
"dompurify",
"xss",
"security",
"typescript"
],
"author": "Ramon Xavier <ramon@example.com>",
"license": "MIT",
"description": "React SafeHtml component library",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/ramonxm/react-secure-html.git"
},
"bugs": {
"url": "https://github.com/ramonxm/react-secure-html/issues"
},
"homepage": "https://github.com/ramonxm/react-secure-html#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/dompurify": "^3.2.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.0",
"@typescript-eslint/parser": "^8.46.0",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jsdom": "^27.0.0",
"lint-staged": "^16.2.4",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vite": "^7.1.9",
"vitest": "^3.2.4"
},
"dependencies": {
"dompurify": "^3.3.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --fix",
"*.{md,json,yml,yaml,css,scss,html}": "prettier --write"
},
"peerDependencies": {
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"files": [
"dist",
"src",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md",
"CODE_OF_CONDUCT.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
}
}