-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathpackage.json
80 lines (80 loc) · 2.33 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
{
"name": "react-to-pdf",
"version": "1.0.1",
"description": "Create PDF documents from React Components",
"source": "src/index.ts",
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/types.d.ts",
"keywords": [
"pdf",
"react",
"convert"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ivmarcos/react-to-pdf.git"
},
"author": "Marcos Andrei Ivanechtchuk",
"license": "MIT",
"bugs": {
"url": "https://github.com/ivmarcos/react-to-pdf/issues"
},
"homepage": "https://github.com/ivmarcos/react-to-pdf#readme",
"scripts": {
"start": "parcel examples/index.html",
"build": "parcel build src/index.ts",
"clean": "rimraf dist",
"docs": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts src/types.ts src/constants.ts",
"test": "npm run lint && jest",
"lint": "eslint . && prettier -c .",
"release": "release-it",
"prerelease": "npm run clean && npm run build",
"format": "prettier --write src examples README.md CHANGELOG.md *.json *.ts cypress .github"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@parcel/packager-ts": "2.8.3",
"@parcel/transformer-typescript-types": "2.8.3",
"@release-it/keep-a-changelog": "^4.0.0",
"@types/jest": "^29.5.1",
"@types/jsdom": "^21.1.1",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"canvas": "^2.11.0",
"compare-pdf": "^1.1.8",
"cypress": "^13.1.0",
"eslint": "^8.39.0",
"eslint-plugin-react": "^7.32.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"parcel": "latest",
"prettier": "^2.8.4",
"process": "^0.11.10",
"react": "^16.8",
"react-dom": "^16.8",
"react-test-renderer": "^16.14.0",
"release-it": "^16.1.5",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.1",
"typedoc": "^0.24.4",
"typedoc-plugin-markdown": "^3.15.2",
"typescript": ">=3.0.0"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"dependencies": {
"html2canvas": "^1.4.1",
"jspdf": "^2.5.1"
},
"alias": {
"react-to-pdf": "./src"
}
}