-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.93 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.93 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@isoterik/react-word-cloud",
"private": false,
"version": "1.3.0",
"type": "module",
"author": "Imran Abdulmalik <imranabdulmalik01@gmail.com>",
"description": "A lightweight, interactable and customizable React word cloud library powered by d3-cloud, featuring built-in animations, tooltips, and flexible word rendering.",
"homepage": "https://github.com/isoteriksoftware/react-word-cloud#readme",
"license": "MIT",
"keywords": [
"react-cloud",
"react-word-cloud",
"react word cloud",
"word-cloud",
"d3-cloud",
"d3",
"react",
"cloud",
"visualization"
],
"main": "./dist/react-word-cloud.umd.js",
"module": "./dist/react-word-cloud.es.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc -b && vite build",
"build:local": "npm run build && npx yalc push",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{ts,tsx}'",
"format": "prettier --write src/**/*.{ts,tsx} --config ./.prettierrc",
"preview": "vite preview",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/isoteriksoftware/react-word-cloud"
},
"bugs": {
"url": "https://github.com/isoteriksoftware/react-word-cloud/issues"
},
"dependencies": {
"@floating-ui/react-dom": "^2.1.2",
"csstype": "^3.1.3",
"d3-cloud": "^1.2.7",
"d3-scale": "^4.0.2",
"d3-scale-chromatic": "^3.1.0",
"react-fast-compare": "^3.2.2"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/d3-cloud": "^1.2.9",
"@types/d3-scale": "^4.0.9",
"@types/d3-scale-chromatic": "^3.1.0",
"@types/node": "^22.13.8",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.7",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
"husky": "^8.0.0",
"jsdom": "^26.0.0",
"lint-staged": "^15.4.3",
"prettier": "^3.5.2",
"typescript": "~5.7.2",
"typescript-eslint": "^8.25.0",
"vite": "^6.2.0",
"vite-plugin-dts": "^3.6.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.7",
"yalc": "^1.0.0-pre.53"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run lint",
"npm run format"
]
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/react-word-cloud.es.js",
"require": "./dist/react-word-cloud.umd.js"
}
},
"engines": {
"node": ">=20"
}
}