-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
75 lines (75 loc) · 1.89 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
{
"name": "react-pdf-html",
"version": "2.1.2",
"author": "Dan Blaisdell [email protected]",
"description": "Html component for react-pdf with CSS support",
"keywords": [
"PDF",
"react PDF",
"React",
"HTML",
"CSS"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/danomatic/react-pdf-html.git"
},
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
}
},
"types": "dist/types/index.d.ts",
"scripts": {
"test": "NODE_ENV=test jest",
"build": "rm -rf dist && tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json; echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"coverage": "NODE_ENV=test jest --coverage",
"pretty-check": "prettier --check \"**/*.{js,ts,tsx,json,md}\"",
"pretty": "prettier --write \"**/*.{js,ts,tsx,json,md}\""
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"css-tree": "^1.1.3",
"node-html-parser": "^6.1.13"
},
"peerDependencies": {
"@react-pdf/renderer": ">=3.4.4",
"react": ">=16"
},
"devDependencies": {
"@react-pdf/renderer": "^3.4.4",
"@types/css-tree": "^1.0.7",
"@types/jest": "^25.2.3",
"@types/node": "^14.0.25",
"@types/react": "^17.0.5",
"@types/validator": "^12.0.1",
"husky": "^4.3.0",
"jest": "^29.7.0",
"json-stringify-safe": "^5.0.1",
"lint-staged": "^10.4.2",
"prettier": "^2.2.1",
"react": "^17.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,ts,tsx,json,md}": [
"prettier --write"
]
}
}