Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.66 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.66 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@prc/charting-library",
"version": "3.19.0",
"main": "export.js",
"types": "src/index.d.ts",
"files": [
"src/",
"build/",
"export.js"
],
"keywords": [
"charting",
"data-visualization",
"react",
"typescript",
"wordpress",
"prc"
],
"repository": {
"type": "git",
"url": "https://github.com/pewresearch/prc-platform.git",
"directory": "plugins/prc-charting-library"
},
"description": "PRC Charting Library is a library for PRC Platform that provides a charting for the block editor.",
"author": "Benjamin Wormald",
"contributors": [
"Benjamin Wormald"
],
"license": "MIT",
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0",
"@prc/charting-utilities": "*",
"@prc/vendor-d3-array": "*",
"@prc/vendor-d3-force": "*",
"@prc/vendor-d3-geo-projection": "*",
"@prc/vendor-dompurify": "*",
"@prc/vendor-emotion-styled": "*",
"@react-spring/web": "^9.7.5",
"@visx/axis": "^3.12.0",
"@visx/event": "^3.12.0",
"@visx/geo": "^3.12.0",
"@visx/grid": "^3.12.0",
"@visx/group": "^3.12.0",
"@visx/heatmap": "^3.3.0",
"@visx/hierarchy": "^3.12.0",
"@visx/legend": "^3.12.0",
"@visx/pattern": "^3.12.0",
"@visx/sankey": "^3.12.0",
"@visx/scale": "^3.12.0",
"@visx/shape": "^3.12.0",
"@visx/text": "^3.12.0",
"@visx/tooltip": "^3.12.0",
"@visx/vendor": "^3.12.0",
"@visx/voronoi": "^3.12.0",
"@visx/zoom": "^3.12.0",
"d3-array": "^3.2.0",
"d3-force": "^3.0.0",
"d3-geo-projection": "^4.0.0",
"dompurify": "^3.4.3",
"md5-hash": "^1.0.1",
"preact": "^10.29.1",
"react": "18.3.1",
"react-dom": "^18.3.1",
"react-draggable": "^4.5.0",
"react-error-boundary": "^4.1.2",
"topojson-client": "^3.1.0"
},
"scripts": {
"start": "wp-scripts start",
"build": "tsc && wp-scripts build",
"build:types": "tsc --noEmit false",
"build:js": "wp-scripts build",
"dev": "wp-scripts start",
"type-check": "tsc --noEmit",
"lint": "eslint src/ --ext .ts,.tsx,.js,.jsx",
"lint:fix": "eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
"test": "wp-scripts test-unit-js",
"test:watch": "wp-scripts test-unit-js --watch",
"clean": "rm -rf build dist"
},
"eslintConfig": {
"extends": [
"prettier"
]
},
"devDependencies": {
"@babel/cli": "^7.27.2",
"@babel/core": "^7.27.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.27.1",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-proposal-function-sent": "^7.27.1",
"@babel/plugin-proposal-json-strings": "^7.18.6",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
"@babel/plugin-proposal-throw-expressions": "^7.27.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-spread": "^7.27.1",
"@babel/preset-env": "7.25.7",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/d3-array": "^3.2.1",
"@types/d3-force": "^3.0.10",
"@types/dompurify": "^3.0.5",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.15",
"@types/react": "~18.3.1",
"@types/react-dom": "~18.3.1",
"@types/topojson-client": "^3.1.5",
"@visx/mock-data": "^3.12.0",
"@wordpress/babel-plugin-import-jsx-pragma": "^5.23.0",
"@wordpress/scripts": "^31.4.0",
"ajv": "^8.17.1",
"eslint-config-prettier": "^10.1.3",
"prettier": "^3.5.3",
"sass": "^1.87.0",
"topojson": "^3.0.2",
"topojson-server": "^3.0.1",
"typescript": "^5.8.3",
"web-vitals": "^4.2.4"
}
}