mirror of
https://github.com/simonw/datasette-vega.git
synced 2026-08-05 17:04:12 +02:00
- Port from setup.py to pyproject.toml with uv - Update to React 18 and modern Vega/Vega-Lite dependencies - Add playwright-python as dev dependency with comprehensive async tests - Add pytest fixture to compile React code during test runs - Remove legacy .travis.yml in favor of GitHub Actions - Tests cover: UI rendering, chart creation, axis swapping, color/size encoding, URL state persistence, and asset loading Note: GitHub workflow files (.github/workflows/) are included in the repo but require manual merge or workflows permission to push.
31 lines
681 B
JSON
31 lines
681 B
JSON
{
|
|
"name": "datasette-vega",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-scripts": "^5.0.1",
|
|
"vega": "^5.25.0",
|
|
"vega-embed": "^6.22.2",
|
|
"vega-lite": "^5.16.0"
|
|
},
|
|
"scripts": {
|
|
"start": "REACT_APP_STAGE=dev react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test --env=jsdom",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|