-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
175 lines (175 loc) · 7.05 KB
/
package.json
File metadata and controls
175 lines (175 loc) · 7.05 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "@cdc/root",
"version": "0.0.0",
"dependencies": {
"@react-google-maps/api": "^2.20.8",
"@types/d3-sankey": "^0.12.5",
"@visx/annotation": "^3.12.0",
"@visx/brush": "^3.12.0",
"@visx/legend": "^3.12.0",
"@visx/pattern": "^3.12.0",
"@visx/responsive": "^3.12.0",
"axios": "^1.13.2",
"chroma-js": "^3.1.2",
"d3-format": "^3.1.2",
"dompurify": "^3.3.1",
"papaparse": "^5.5.2",
"react-table": "^7.8.0"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@babel/preset-env": "^7.28.6",
"@babel/preset-react": "^7.28.5",
"@faker-js/faker": "^8.4.1",
"@nx/devkit": "17.3.2",
"@rollup/plugin-dsv": "^3.0.2",
"@storybook/addon-a11y": "^10.3.3",
"@storybook/addon-docs": "^10.3.3",
"@storybook/addon-links": "^10.3.3",
"@storybook/addon-vitest": "^10.3.3",
"@storybook/builder-vite": "^10.3.3",
"@storybook/react-vite": "^10.3.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.6.1",
"@types/chroma-js": "^3.1.2",
"@types/papaparse": "^5.5.2",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.0.9",
"@types/resize-observer-browser": "^0.1.5",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@visx/group": "^3.12.0",
"@visx/heatmap": "^3.12.0",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.1.0",
"babel-eslint": "^10.1.0",
"backstopjs": "^6.3.25",
"baseline-browser-mapping": "^2.9.15",
"d3-composite-projections": "^1.4.0",
"eslint": "^8.44.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^10.3.3",
"gh-pages": "^5.0.0",
"html-react-parser": "^5.2.3",
"husky": "^8.0.0",
"jsdom": "^24.0.0",
"knip": "^5.81.0",
"lerna": "8.2.4",
"lint-staged": "^15.5.1",
"lodash": "^4.17.23",
"lodash.get": "^4.4.2",
"lodash.merge": "^4.6.2",
"mini-svg-data-uri": "^1.2.3",
"nx": "17.3.2",
"patch-package": "^8.0.0",
"pathe": "^1.1.0",
"playwright": "^1.57.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.1",
"pretty": "^2.0.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dnd": "^16.0.1",
"react-dom": "^18.2.0",
"react-tooltip": "5.8.2-beta.3",
"react-visibility-sensor": "^5.1.1",
"resize-observer-polyfill": "^1.5.1",
"rollup-plugin-node-externals": "^6.1.2",
"sass": "^1.89.2",
"storybook": "^10.3.3",
"storybook-addon-fetch-mock": "^2.0.1",
"stylelint": "^17.3.0",
"stylelint-order": "^7.0.1",
"syncpack": "^13.0.4",
"use-debounce": "^10.1.0",
"vite": "^7.3.1",
"vite-plugin-css-injected-by-js": "^2.4.0",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^3.1.0",
"whatwg-fetch": "^3.6.20"
},
"homepage": "https://cdcgov.github.io/cdc-open-viz",
"lint-staged": {
"./packages/*/src/**/*.{js,jsx,ts,tsx}": [
"eslint --config .eslintrc.json",
"npx prettier --write"
],
"packages/**/*.css": [
"stylelint --fix"
]
},
"private": true,
"resolutions": {
"storybook": "10.3.3",
"esbuild": "^0.25.0",
"jackspeak": "^2.3.6",
"js-yaml": "^4.1.1",
"lodash": ">=4.17.23",
"picomatch": "^4.0.4",
"qs": "^6.14.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.59.0",
"tar": "^7.5.11",
"flatted": ">=3.4.2",
"effect": ">=3.20.0",
"handlebars": ">=4.7.9"
},
"scripts": {
"backstop:approve": "backstop approve",
"backstop:open": "backstop openReport",
"backstop:reference": "backstop reference",
"backstop:test": "backstop test",
"build": "npx lerna run build",
"build-storybook": "storybook build",
"clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"deploy": "gh-pages -d .storybook_build -t true",
"dev:all": "npm run dev:chart & npm run dev:dashboard & npm run dev:data-bite & npm run dev:data-table & npm run dev:editor & npm run dev:filtered-text & npm run dev:map & npm run dev:markup-include & npm run dev:waffle-chart & wait",
"dev:compare": "npm run dev:chart -- --no-open & npm run dev:dashboard -- --no-open & npm run dev:data-bite -- --no-open & npm run dev:data-table -- --no-open & npm run dev:filtered-text -- --no-open & npm run dev:map -- --no-open & npm run dev:markup-include -- --no-open & npm run dev:waffle-chart -- --no-open & vite --config dev-portal/vite.config.compare.js --open /compare.html",
"dev:portal": "npm run dev:chart -- --no-open & npm run dev:dashboard -- --no-open & npm run dev:data-bite -- --no-open & npm run dev:data-table -- --no-open & npm run dev:filtered-text -- --no-open & npm run dev:map -- --no-open & npm run dev:markup-include -- --no-open & npm run dev:waffle-chart -- --no-open & vite --config dev-portal/vite.config.dev-portal.js --open",
"dev:chart": "lerna run --scope @cdc/chart start -- --port 3001",
"dev:dashboard": "lerna run --scope @cdc/dashboard start -- --port 3003",
"dev:data-bite": "lerna run --scope @cdc/data-bite start -- --port 3004",
"dev:data-table": "lerna run --scope @cdc/data-table start -- --port 3005",
"dev:editor": "lerna run --scope @cdc/editor start -- --port 3006",
"dev:filtered-text": "lerna run --scope @cdc/filtered-text start -- --port 3007",
"dev:map": "lerna run --scope @cdc/map start -- --port 3008",
"dev:markup-include": "lerna run --scope @cdc/markup-include start -- --port 3009",
"dev:waffle-chart": "lerna run --scope @cdc/waffle-chart start -- --port 3010",
"knip": "knip",
"knip:production": "knip --production",
"knip:unused-deps": "knip --include dependencies,devDependencies",
"knip:unused-exports": "knip --include exports,types",
"knip:unused-files": "knip --include files",
"lint": "eslint packages/*/src/**/*.{js,jsx,ts,tsx}",
"lint:css": "stylelint 'packages/**/*.css'",
"lint:css:fix": "stylelint 'packages/**/*.css' --fix",
"postinstall": "patch-package",
"predeploy": "storybook build --output-dir .storybook_build && touch .storybook_build/.nojekyll",
"prepare": "husky install",
"publish": "npx lerna publish",
"reset": "lerna clean -y && rm -rf node_modules && yarn install && lerna run build",
"storybook": "storybook dev -p 6006",
"storybook-docs": "storybook dev --docs",
"sync:check": "syncpack list-mismatches",
"sync:fix": "syncpack fix-mismatches",
"sync:format": "syncpack format",
"test-storybook": "vitest run --project=storybook",
"test-storybook:quick": "COVE_QUICK_TESTS=1 vitest run --project=storybook",
"test-unit": "npx lerna run test",
"test-unit:quick": "COVE_QUICK_TESTS=1 npx lerna run test"
},
"workspaces": [
"packages/*"
]
}