-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
71 lines (71 loc) · 1.95 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
{
"name": "htmlstring-to-react",
"version": "7.0.0",
"description": "Convert HTML DOM to React elements",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"engines": {
"node": ">=22"
},
"scripts": {
"prepare": "husky",
"build": "npm run clean && tsc --project .",
"clean": "rimraf lib/ yarn-error.log npm-debug.log",
"lint": "eslint '**/*.ts' '**/*mjs'",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"start": "jest --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thomasthiebaud/htmlstring-to-react.git"
},
"author": "Thomas Thiebaud",
"license": "MIT",
"bugs": {
"url": "https://github.com/thomasthiebaud/htmlstring-to-react/issues"
},
"homepage": "https://github.com/thomasthiebaud/htmlstring-to-react#readme",
"files": [
"lib",
"types"
],
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/js": "^9.16.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.14",
"@types/react": "^18.2.48",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"conventional-changelog-eslint": "^6.0.0",
"eslint": "^9.16.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0"
},
"dependencies": {
"dompurify": "^3.2.2"
},
"peerDependencies": {
"react": "^16.2.0 || ^17.0.0 || ^18.0.0"
},
"jest": {
"preset": "ts-jest",
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/tests/styleMock.js"
},
"testEnvironment": "jsdom"
}
}