-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
92 lines (92 loc) · 2.38 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
{
"name": "htmr",
"version": "1.0.2",
"description": "Simple and lightweight (< 2kB) HTML to React converter that works in server and browser",
"main": "lib/htmr.js",
"browser": "lib/htmr.browser.js",
"react-native": "lib/htmr.js",
"types": "index.d.ts",
"files": [
"lib",
"src/types.ts",
"index.d.ts"
],
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"bench": "node benchmark",
"build": "rollup -c",
"clean": "rimraf lib",
"fmt": "prettier --write \"**/*.{js,md}\"",
"prepare": "npm-run-all clean typecheck build",
"test": "npm-run-all clean build && npm-run-all -p test:coverage test:size typecheck bench",
"test:coverage": "jest --coverage --no-cache --ci --runInBand",
"test:watch": "jest --watch --no-cache",
"test:size": "bundlesize",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pveyes/htmr.git"
},
"keywords": [
"html-to-react",
"html",
"to",
"react",
"simple",
"lightweight",
"universal",
"server",
"browser",
"convert",
"mapping"
],
"author": "Fatih Kalifa <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/pveyes/htmr/issues"
},
"homepage": "https://github.com/pveyes/htmr#readme",
"dependencies": {
"html-entities": "^2.1.0",
"htmlparser2": "^6.0.0"
},
"peerDependencies": {
"react": ">=15.6.1"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@testing-library/react": "^11.2.5",
"@types/react": "^17.0.2",
"benchmark": "^2.1.4",
"bundlesize": "^0.17.1",
"common-tags": "^1.8.0",
"domhandler": "^4.0.0",
"husky": "^5.0.9",
"jest": "^26.6.3",
"npm-run-all": "^4.0.2",
"pinst": "^2.1.4",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"rimraf": "^2.6.1",
"rollup": "^1.10.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.21.0",
"typescript": "^4.7.4"
},
"bundlesize": [
{
"path": "./lib/htmr.browser.js",
"maxSize": "2 kB"
}
]
}