-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
222 lines (222 loc) · 6.61 KB
/
package.json
File metadata and controls
222 lines (222 loc) · 6.61 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"name": "pbtar_frontend",
"version": "0.0.0-semantic-release",
"type": "module",
"description": "Front-end for the pathways-based transition assessment repository (pbtar)",
"main": "main.jsx",
"scripts": {
"build": "cross-env NODE_OPTIONS=--disable-warning=ExperimentalWarning vite build --mode ${VITE_BUILD_MODE:-development}",
"build:timeseries": "npx ts-node --esm scripts/build-timeseries-files.ts && prettier --write \"src/data/index.gen.ts\"",
"dev": "vite",
"format": "prettier --write .",
"format:check": "prettier --check .",
"format:watch": "chokidar . --ignore \".git/**\" --ignore \"node_modules/**\" -c \"prettier --check .\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:watch": "chokidar . --ignore \".git/**\" --ignore \"node_modules/**\" -c \"npm run lint -- --max-warnings=0 && echo '✔ Lint check complete (no errors or warnings)'\"",
"prebuild": "npm run build:timeseries",
"predev": "npm run build:timeseries",
"prepare:tarball": "npm ci && npm run build && cp staticwebapp.config.json dist && tar -czf dist.tgz -C dist .",
"preview": "vite preview",
"schema": "npm run schema:check && npm run schema:generate",
"schema:check": "npx ts-node --esm scripts/schema-check-files.ts src/data testdata/valid",
"schema:check:srcdata": "npx ts-node --esm scripts/schema-check-files.ts src/data",
"schema:check:testdata": "npx ts-node --esm scripts/schema-check-files.ts testdata/valid",
"schema:generate": "npm run schema:generate:types && npm run schema:generate:docs",
"schema:generate:docs": "scripts/generate-schema-docs.sh",
"schema:generate:types": "npx ts-node --esm scripts/generate-types.ts && prettier --write \"src/types/**/*.d.ts\"",
"test": "vitest run",
"test:watch": "vitest"
},
"author": "RMI",
"license": "MIT",
"dependencies": {
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"clsx": "^2.1.1",
"d3": "^7.9.0",
"i18n-iso-countries": "^7.14.0",
"json-schema-to-typescript": "^15.0.4",
"lucide-react": "^0.577.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.14.0",
"rehype-external-links": "^3.0.0",
"vite-plugin-static-copy": "^4.0.1"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@jirutka/ajv-cli": "^6.0.0",
"@semantic-release/exec": "^7.1.0",
"@tailwindcss/postcss": "^4.2.2",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/d3-array": "^3.2.2",
"@types/d3-axis": "^3.0.6",
"@types/d3-interpolate": "^3.0.4",
"@types/d3-scale": "^4.0.9",
"@types/d3-selection": "^3.0.11",
"@types/d3-shape": "^3.1.8",
"@types/d3-time-format": "^4.0.3",
"@types/d3-transition": "^3.0.9",
"@types/node": "^25.5.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"autoprefixer": "^10.4.27",
"chokidar-cli": "^3.0.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"cross-env": "^10.1.0",
"eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.4.0",
"jiti": "^2.6.1",
"jsdom": "^29.0.1",
"postcss": "^8.5.8",
"prettier": "^3.8.1",
"semantic-release": "^25.0.3",
"simple-git": "^3.33.0",
"tailwindcss": "^4.1.7",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.0",
"vite": "^7.3.2",
"vitest": "^4.1.2"
},
"engines": {
"node": ">=20.0.0"
},
"release": {
"branches": [
"production",
{
"name": "main",
"prerelease": "dev"
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "chore",
"release": false
},
{
"type": "style",
"release": false
},
{
"type": "test",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Fixes",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "ci",
"section": "Continuous Integration and Delivery (CI/CD)",
"hidden": false
},
{
"type": "docs",
"section": "Docs",
"hidden": false
},
{
"type": "refactor",
"section": "Refactors",
"hidden": false
},
{
"type": "perf",
"section": "Performance",
"hidden": false
},
{
"type": "style",
"section": "Style",
"hidden": true
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "chore",
"section": "Other",
"hidden": false
}
]
}
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "cross-env VITE_APP_VERSION=${nextRelease.version} npm run prepare:tarball"
}
],
[
"@semantic-release/github",
{
"successComment": false,
"assets": [
{
"path": "dist.tgz",
"label": "Built Site"
}
]
}
]
]
}
}