-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
29 lines (29 loc) · 1.12 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
{
"dependencies": {
"@observablehq/plot": "^0.6.16",
"anywidget": "^0.9.0",
"d3": "^7.9.0",
"d3-scale-chromatic": "^3.1.0"
},
"scripts": {
"bundle": "esbuild --format=esm --bundle --outdir=src/pyobsplot/static --entry-names=static-[name] src/js/widget.js src/js/styles.css",
"dev": "npm run bundle -- --watch",
"build": "npm run bundle && uvx --from build pyproject-build --installer uv",
"test": "uv run pytest",
"uistart": "uv run -- jupyter lab --config tests/ui/jupyter_server_config.py",
"uitest": "npx playwright test --workers=1 --config tests/ui/playwright.config.cjs",
"uitest:debug": "PWDEBUG=1 npm run uitest",
"uitest:report": "http-server ./tests/ui/playwright-report -a localhost -o",
"uitest:update": "npm run uitest -- --update-snapshots",
"uitest:ui": "npm run uitest -- --ui"
},
"devDependencies": {
"@jupyterlab/galata": "^5.1.5",
"@playwright/test": "^1.38.1",
"esbuild": "^0.17.19"
},
"type": "module",
"workspaces": [
"packages/pyobsplot-js"
]
}