-
Notifications
You must be signed in to change notification settings - Fork 138
/
package.json
97 lines (97 loc) · 2.54 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
93
94
95
96
97
{
"name": "react-wordcloud",
"version": "1.2.7",
"description": "Simple React + D3 wordcloud component with powerful features.",
"license": "MIT",
"homepage": "https://react-wordcloud.netlify.com/",
"repository": "chrisrzhou/react-wordcloud",
"bugs": "https://github.com/chrisrzhou/react-wordcloud/issues",
"author": "Chris Zhou <[email protected]> (https://chrisrzhou.io)",
"keywords": [
"react",
"wordcloud",
"visualization",
"d3"
],
"scripts": {
"build": "microbundle --jsx React.createElement",
"build:docs": "docz build",
"clean": "rm -rf dist",
"clean:docs": "rm -rf .docz",
"docs": "docz dev",
"lint": "xo --fix; tsc",
"prepare": "npm run clean; npm run build"
},
"main": "dist/index.js",
"module": "dist/index.module.js",
"source": "index.js",
"typings": "types/index.d.ts",
"files": [
"dist",
"types/index.d.ts"
],
"dependencies": {
"d3-array": "^2.5.0",
"d3-cloud": "^1.2.5",
"d3-dispatch": "^1.0.6",
"d3-scale": "^3.2.1",
"d3-scale-chromatic": "^1.5.0",
"d3-selection": "^1.4.2",
"d3-transition": "^1.3.2",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"resize-observer-polyfill": "^1.5.1",
"seedrandom": "^3.0.5",
"tippy.js": "^6.2.6"
},
"devDependencies": {
"@types/d3-array": "^2.0.0",
"@types/d3-cloud": "^1.2.3",
"@types/d3-scale": "^2.2.0",
"@types/d3-scale-chromatic": "^1.5.0",
"@types/d3-selection": "^1.4.1",
"@types/lodash.clonedeep": "^4.5.6",
"@types/lodash.debounce": "^4.0.6",
"@types/seedrandom": "^2.4.28",
"docz": "^2.3.1",
"eslint-config-xo-react": "^0.23.0",
"eslint-config-xo-typescript": "^0.31.0",
"husky": "^4.2.5",
"microbundle": "^0.12.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"typescript": "^3.8.3",
"xo": "^0.32.1"
},
"peerDependencies": {
"react": "^16.13.0"
},
"husky": {
"hooks": {
"pre-push": "npm run prepare && npm run lint"
}
},
"prettier": {
"bracketSpacing": true,
"jsxBracketSameLine": true,
"trailingComma": "all",
"useTabs": false
},
"xo": {
"prettier": true,
"env": [
"browser"
],
"extends": [
"xo-react"
],
"rules": {
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"import/no-anonymous-default-export": "off",
"import/no-unassigned-import": "off",
"react/function-component-definition": "off",
"react/prop-types": "off",
"unicorn/no-fn-reference-in-iterator": "off"
}
}
}