svelteplot 0.11.1-pr-520.9 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +181 -183
package/package.json
CHANGED
|
@@ -1,189 +1,187 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
"name": "svelteplot",
|
|
3
|
+
"version": "0.12.0",
|
|
4
|
+
"description": "A Svelte-native data visualization framework based on the layered grammar of graphics principles.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"svelte",
|
|
7
|
+
"data visualization",
|
|
8
|
+
"plotting",
|
|
9
|
+
"data analysis",
|
|
10
|
+
"datavis",
|
|
11
|
+
"dataviz",
|
|
12
|
+
"grammar of graphics",
|
|
13
|
+
"interactive visualization"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://svelteplot.dev",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/svelteplot/svelteplot/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/svelteplot/svelteplot.git"
|
|
22
|
+
},
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"author": {
|
|
25
|
+
"name": "Gregor Aisch",
|
|
26
|
+
"email": "gka@users.noreply.github.com"
|
|
27
|
+
},
|
|
28
|
+
"type": "module",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"svelte": "./dist/index.js"
|
|
18
33
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"url": "git+https://github.com/svelteplot/svelteplot.git"
|
|
34
|
+
"./*.js": {
|
|
35
|
+
"import": "./dist/*.js"
|
|
22
36
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"name": "Gregor Aisch",
|
|
26
|
-
"email": "gka@users.noreply.github.com"
|
|
37
|
+
"./*.svelte": {
|
|
38
|
+
"import": "./dist/*.svelte"
|
|
27
39
|
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
".": {
|
|
31
|
-
"types": "./dist/index.d.ts",
|
|
32
|
-
"svelte": "./dist/index.js"
|
|
33
|
-
},
|
|
34
|
-
"./*.js": {
|
|
35
|
-
"import": "./dist/*.js"
|
|
36
|
-
},
|
|
37
|
-
"./*.svelte": {
|
|
38
|
-
"import": "./dist/*.svelte"
|
|
39
|
-
},
|
|
40
|
-
"./core/*.svelte": {
|
|
41
|
-
"import": "./dist/core/*.svelte"
|
|
42
|
-
},
|
|
43
|
-
"./marks/*.svelte": {
|
|
44
|
-
"import": "./dist/marks/*.svelte"
|
|
45
|
-
},
|
|
46
|
-
"./transforms": {
|
|
47
|
-
"import": "./dist/transforms/index.js"
|
|
48
|
-
}
|
|
40
|
+
"./core/*.svelte": {
|
|
41
|
+
"import": "./dist/core/*.svelte"
|
|
49
42
|
},
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
"files": [
|
|
53
|
-
"dist",
|
|
54
|
-
"!dist/**/*.test.*",
|
|
55
|
-
"!dist/**/*.spec.*"
|
|
56
|
-
],
|
|
57
|
-
"scripts": {
|
|
58
|
-
"build": "vite build",
|
|
59
|
-
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
60
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
61
|
-
"check-js-extensions": "node scripts/check-js-extensions.js src",
|
|
62
|
-
"dev": "vite dev",
|
|
63
|
-
"docs": "npm run build && cd build && rsync --recursive . vis4.net:svelteplot/alpha0/",
|
|
64
|
-
"docs:api": "node scripts/generate-api.js --marks --plot --transforms && prettier --write .",
|
|
65
|
-
"docs:api:marks": "node scripts/generate-api.js --marks && prettier --write .",
|
|
66
|
-
"docs:api:plot": "node scripts/generate-api.js --plot && prettier --write .",
|
|
67
|
-
"docs:api:transforms": "node scripts/generate-api.js --transforms && prettier --write .",
|
|
68
|
-
"format": "eslint --fix package.json && prettier --write .",
|
|
69
|
-
"lint": "pnpm run lint:oxlint && pnpm run lint:eslint && pnpm run lint:types",
|
|
70
|
-
"lint:eslint": "prettier --check src && eslint src package.json",
|
|
71
|
-
"lint:oxlint": "oxlint --type-aware",
|
|
72
|
-
"lint:types": "svelte-kit sync && tsc --noEmit -p tsconfig.lint-types.json",
|
|
73
|
-
"prepack": "npx svelte-package && node scripts/fix-js-imports.js dist",
|
|
74
|
-
"preview": "vite preview",
|
|
75
|
-
"release-next": "npm version prerelease --preid next && npm publish && git push && git push --tags && sleep 1 && npm dist-tag add svelteplot@$(npm view . version) next",
|
|
76
|
-
"screenshots": "node screenshot-examples.js",
|
|
77
|
-
"test": "npm run test:unit",
|
|
78
|
-
"test:unit": "vitest",
|
|
79
|
-
"test:visual": "node scripts/visual-regression.js",
|
|
80
|
-
"vr:report": "node scripts/vr-report.js"
|
|
43
|
+
"./marks/*.svelte": {
|
|
44
|
+
"import": "./dist/marks/*.svelte"
|
|
81
45
|
},
|
|
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
|
-
|
|
46
|
+
"./transforms": {
|
|
47
|
+
"import": "./dist/transforms/index.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"main": "./dist/index.js",
|
|
51
|
+
"types": "./dist/index.d.ts",
|
|
52
|
+
"files": [
|
|
53
|
+
"dist",
|
|
54
|
+
"!dist/**/*.test.*",
|
|
55
|
+
"!dist/**/*.spec.*"
|
|
56
|
+
],
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"d3-array": "^3.2.4",
|
|
59
|
+
"d3-color": "^3.1.0",
|
|
60
|
+
"d3-delaunay": "^6.0.4",
|
|
61
|
+
"d3-format": "^3.1.2",
|
|
62
|
+
"d3-geo": "^3.1.1",
|
|
63
|
+
"d3-interpolate": "^3.0.1",
|
|
64
|
+
"d3-path": "^3.1.0",
|
|
65
|
+
"d3-quadtree": "^3.0.1",
|
|
66
|
+
"d3-random": "^3.0.1",
|
|
67
|
+
"d3-scale": "^4.0.2",
|
|
68
|
+
"d3-scale-chromatic": "^3.1.0",
|
|
69
|
+
"d3-shape": "^3.2.0",
|
|
70
|
+
"d3-time": "^3.1.0",
|
|
71
|
+
"es-toolkit": "^1.44.0",
|
|
72
|
+
"fast-equals": "^6.0.0",
|
|
73
|
+
"interval-tree-1d": "^1.0.4",
|
|
74
|
+
"merge-deep": "^3.0.3"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@aitodotai/json-stringify-pretty-compact": "^1.3.0",
|
|
78
|
+
"@emotion/css": "^11.13.5",
|
|
79
|
+
"@shikijs/twoslash": "^3.22.0",
|
|
80
|
+
"@sveltejs/adapter-auto": "^7.0.1",
|
|
81
|
+
"@sveltejs/adapter-static": "^3.0.10",
|
|
82
|
+
"@sveltejs/enhanced-img": "^0.10.2",
|
|
83
|
+
"@sveltejs/eslint-config": "^8.3.5",
|
|
84
|
+
"@sveltejs/kit": "^2.52.2",
|
|
85
|
+
"@sveltejs/package": "^2.5.7",
|
|
86
|
+
"@sveltejs/vite-plugin-svelte": "6.2.4",
|
|
87
|
+
"@sveltepress/twoslash": "^1.3.6",
|
|
88
|
+
"@sveltepress/vite": "^1.3.6",
|
|
89
|
+
"@testing-library/svelte": "^5.3.1",
|
|
90
|
+
"@testing-library/user-event": "^14.6.1",
|
|
91
|
+
"@types/d3-array": "^3.2.2",
|
|
92
|
+
"@types/d3-color": "^3.1.3",
|
|
93
|
+
"@types/d3-delaunay": "^6.0.4",
|
|
94
|
+
"@types/d3-dsv": "^3.0.7",
|
|
95
|
+
"@types/d3-geo": "^3.1.0",
|
|
96
|
+
"@types/d3-interpolate": "^3.0.4",
|
|
97
|
+
"@types/d3-path": "^3.1.1",
|
|
98
|
+
"@types/d3-quadtree": "^3.0.6",
|
|
99
|
+
"@types/d3-random": "^3.0.3",
|
|
100
|
+
"@types/d3-scale": "^4.0.9",
|
|
101
|
+
"@types/d3-scale-chromatic": "^3.1.0",
|
|
102
|
+
"@types/d3-shape": "^3.1.8",
|
|
103
|
+
"@types/geojson": "^7946.0.16",
|
|
104
|
+
"@types/topojson": "^3.2.6",
|
|
105
|
+
"@types/topojson-client": "^3.1.5",
|
|
106
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
107
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
108
|
+
"@unocss/extractor-svelte": "^66.6.0",
|
|
109
|
+
"@vite-pwa/sveltekit": "^1.1.0",
|
|
110
|
+
"csstype": "^3.2.3",
|
|
111
|
+
"d3-dsv": "^3.0.1",
|
|
112
|
+
"d3-fetch": "^3.0.1",
|
|
113
|
+
"d3-force": "^3.0.0",
|
|
114
|
+
"eslint": "^9.39.2",
|
|
115
|
+
"eslint-config-prettier": "^10.1.8",
|
|
116
|
+
"eslint-plugin-package-json": "^0.88.3",
|
|
117
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
118
|
+
"eslint-plugin-svelte": "3.15.0",
|
|
119
|
+
"jqmath": "^0.4.9",
|
|
120
|
+
"jsdom": "^27.4.0",
|
|
121
|
+
"log-update": "^7.1.0",
|
|
122
|
+
"lru-cache": "^11.2.6",
|
|
123
|
+
"magic-string": "^0.30.21",
|
|
124
|
+
"mdast-util-from-markdown": "^2.0.2",
|
|
125
|
+
"mdast-util-gfm": "^3.1.0",
|
|
126
|
+
"oxlint": "^1.48.0",
|
|
127
|
+
"oxlint-tsgolint": "^0.14.0",
|
|
128
|
+
"pixelmatch": "^7.1.0",
|
|
129
|
+
"pngjs": "^7.0.0",
|
|
130
|
+
"prettier": "^3.8.1",
|
|
131
|
+
"prettier-plugin-svelte": "^3.5.0",
|
|
132
|
+
"puppeteer": "^24.37.4",
|
|
133
|
+
"remark-code-extra": "^1.0.1",
|
|
134
|
+
"remark-code-frontmatter": "^1.0.0",
|
|
135
|
+
"remark-math": "^6.0.0",
|
|
136
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
137
|
+
"sass": "^1.97.3",
|
|
138
|
+
"shiki": "^3.22.0",
|
|
139
|
+
"svelte": "5",
|
|
140
|
+
"svelte-check": "^4.4.1",
|
|
141
|
+
"svelte-eslint-parser": "1.4.1",
|
|
142
|
+
"svelte-highlight": "^7.9.0",
|
|
143
|
+
"svg-path-parser": "^1.1.0",
|
|
144
|
+
"temml": "^0.13.1",
|
|
145
|
+
"topojson-client": "^3.1.0",
|
|
146
|
+
"ts-essentials": "^10.1.1",
|
|
147
|
+
"tslib": "^2.8.1",
|
|
148
|
+
"typedoc": "^0.28.17",
|
|
149
|
+
"typedoc-plugin-markdown": "^4.10.0",
|
|
150
|
+
"typescript": "^5.9.3",
|
|
151
|
+
"uid": "^2.0.2",
|
|
152
|
+
"unist-util-visit": "^5.1.0",
|
|
153
|
+
"unocss": "^66.6.0",
|
|
154
|
+
"vite": "^7.3.1",
|
|
155
|
+
"vitest": "^4.0.18",
|
|
156
|
+
"vitest-matchmedia-mock": "^2.0.3",
|
|
157
|
+
"wx-svelte-grid": "^2.5.0",
|
|
158
|
+
"yoctocolors": "^2.1.2"
|
|
159
|
+
},
|
|
160
|
+
"peerDependencies": {
|
|
161
|
+
"svelte": "^5.43.0"
|
|
162
|
+
},
|
|
163
|
+
"scripts": {
|
|
164
|
+
"build": "vite build",
|
|
165
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
166
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
167
|
+
"check-js-extensions": "node scripts/check-js-extensions.js src",
|
|
168
|
+
"dev": "vite dev",
|
|
169
|
+
"docs": "npm run build && cd build && rsync --recursive . vis4.net:svelteplot/alpha0/",
|
|
170
|
+
"docs:api": "node scripts/generate-api.js --marks --plot --transforms && prettier --write .",
|
|
171
|
+
"docs:api:marks": "node scripts/generate-api.js --marks && prettier --write .",
|
|
172
|
+
"docs:api:plot": "node scripts/generate-api.js --plot && prettier --write .",
|
|
173
|
+
"docs:api:transforms": "node scripts/generate-api.js --transforms && prettier --write .",
|
|
174
|
+
"format": "eslint --fix package.json && prettier --write .",
|
|
175
|
+
"lint": "pnpm run lint:oxlint && pnpm run lint:eslint && pnpm run lint:types",
|
|
176
|
+
"lint:eslint": "prettier --check src && eslint src package.json",
|
|
177
|
+
"lint:oxlint": "oxlint --type-aware",
|
|
178
|
+
"lint:types": "svelte-kit sync && tsc --noEmit -p tsconfig.lint-types.json",
|
|
179
|
+
"preview": "vite preview",
|
|
180
|
+
"release-next": "npm version prerelease --preid next && npm publish && git push && git push --tags && sleep 1 && npm dist-tag add svelteplot@$(npm view . version) next",
|
|
181
|
+
"screenshots": "node screenshot-examples.js",
|
|
182
|
+
"test": "npm run test:unit",
|
|
183
|
+
"test:unit": "vitest",
|
|
184
|
+
"test:visual": "node scripts/visual-regression.js",
|
|
185
|
+
"vr:report": "node scripts/vr-report.js"
|
|
186
|
+
}
|
|
187
|
+
}
|