-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
94 lines (94 loc) · 2.91 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
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
{
"name": "regl-scatterplot",
"version": "1.12.0",
"description": "A WebGL-Powered Scalable Interactive Scatter Plot Library",
"author": "Fritz Lekschas",
"keywords": [
"scatterplot",
"2d scatter",
"interactive data visualization",
"regl",
"WebGL",
"embedding plot"
],
"license": "MIT",
"type": "module",
"main": "dist/regl-scatterplot.js",
"module": "dist/regl-scatterplot.esm.js",
"types": "dist/regl-scatterplot.esm.d.ts",
"files": [
"src/*",
"dist/*"
],
"scripts": {
"build": "npm run build-library; npm run build-demo",
"build-library": "rm -rf dist/*; rollup -c; cp src/types.d.ts dist/; sed -i 's/\\.\\/renderer/\\.\\/regl-scatterplot.esm/g' dist/types.d.ts; tsc dist/*.esm.js --allowJs --declaration --emitDeclarationOnly",
"build-demo": "vite build",
"deploy": "npm run build-demo; touch docs/.nojekyll; gh-pages -d docs -t --git git",
"lint": "biome check --write .",
"precommit": "npm run test",
"prepublishOnly": "npm run test; rm -rf dist/*; npm run build;",
"prerelease": "rm -rf dist/*; npm run build; zip -r dist.zip dist",
"pretest": "npm run lint",
"prestart": "cp scripts/pre-commit .git/hooks/ && chmod +x .git/hooks/pre-commit && echo 'pre-commit hook copied'",
"start": "vite --port=3000",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
"dependencies": {
"@flekschas/utils": "^0.32.2",
"dom-2d-camera": "^2.2.6",
"gl-matrix": "~3.4.3",
"pub-sub-es": "~3.0.0",
"regl": "~2.1.1",
"regl-line": "~1.1.1"
},
"peerDependencies": {
"pub-sub-es": "~3.0.0",
"regl": "~2.1.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-regenerator": "^7.25.9",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.26.0",
"@biomejs/biome": "^1.9.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/d3-scale": "^4.0.6",
"@types/node": "^22.9.3",
"@vitest/browser": "^2.1.5",
"@vitest/coverage-v8": "^2.1.5",
"apache-arrow": "^18.0.0",
"browser-env": "^3.3.0",
"d3-axis": "^3.0.0",
"d3-random": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"esm": "^3.2.25",
"gh-pages": "^6.2.0",
"merge": "^2.1.1",
"playwright": "^1.49.0",
"rollup": "^4.27.4",
"rollup-plugin-filesize": "^10.0.0",
"typescript": "~5.7.2",
"vite": "^5.4.11",
"vite-plugin-virtual-html-template": "^1.1.0",
"vitest": "^2.1.5"
},
"engines": {
"npm": ">=7.0.0",
"node": ">=20.0.0"
},
"homepage": "https://github.com/flekschas/regl-scatterplot",
"repository": {
"type": "git",
"url": "git://github.com/flekschas/regl-scatterplot.git"
},
"bugs": {
"url": "https://github.com/flekschas/regl-scatterplot/issues"
}
}