-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
82 lines (82 loc) · 2.26 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
{
"name": "recharts-to-png",
"version": "2.4.0",
"description": "This package converts a Recharts chart to a png.",
"author": "Brandon M. Mitchell",
"license": "MIT",
"homepage": "https://github.com/brammitch/recharts-to-png#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/brammitch/recharts-to-png.git"
},
"bugs": {
"url": "https://github.com/brammitch/recharts-to-png/issues"
},
"workspaces": [
"examples/next-app",
"examples/next-pages",
"lib"
],
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"keywords": [
"recharts",
"svg",
"download",
"image",
"save",
"png",
"react",
"typescript"
],
"scripts": {
"build": "npm run clean && npm run build -w lib",
"clean": "rimraf dist",
"coverage": "npm run coverage -w lib",
"demo:app": "npm run dev -w examples/next-app",
"demo:pages": "npm run dev -w examples/next-pages",
"format:check": "prettier --check \"./**/*.{ts,tsx,js,json}\"",
"format:fix": "prettier --write \"./**/*.{ts,tsx,js,json}\"",
"lint:check": "eslint . --ext .js,.ts,.tsx --color",
"lint:fix": "eslint . --ext .js,.ts,.tsx --color --fix",
"postversion": "git push && git push --tags",
"prepare": "husky install",
"release": "npm run build && commit-and-tag-version",
"test": "npm run test -w lib",
"watch": "npm run watch -w lib"
},
"peerDependencies": {
"react": ">=16.8.3",
"react-dom": ">=16.8.3",
"recharts": ">=2.9.0"
},
"peerDependenciesMeta": {
"recharts": {
"optional": true
}
},
"dependencies": {
"html2canvas": "^1.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@next/eslint-plugin-next": "^13.5.6",
"@types/node": "^18.7.6",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"commit-and-tag-version": "^10.1.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
}