-
-
Notifications
You must be signed in to change notification settings - Fork 633
/
Copy pathpackage.json
139 lines (139 loc) · 4.78 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
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
{
"name": "vega-lite",
"version": "6.1.0",
"license": "BSD-3-Clause",
"author": {
"name": "Vega",
"url": "https://vega.github.io"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vega/vega-lite.git"
},
"bugs": {
"url": "https://github.com/vega/vega-lite/issues"
},
"funding": {
"url": "https://app.hubspot.com/payments/GyPC972GD9Rt"
},
"homepage": "https://vega.github.io/vega-lite/",
"description": "Vega-Lite is a concise high-level language for interactive visualization.",
"keywords": [
"vega",
"chart",
"visualization"
],
"type": "module",
"exports": {
".": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
},
"./vega-lite-schema.json": "./build/vega-lite-schema.json"
},
"unpkg": "build/vega-lite.min.js",
"jsdelivr": "build/vega-lite.min.js",
"bin": {
"vl2pdf": "./bin/vl2pdf",
"vl2png": "./bin/vl2png",
"vl2svg": "./bin/vl2svg",
"vl2vg": "./bin/vl2vg"
},
"files": [
"bin",
"build",
"src",
"vega-lite*",
"tsconfig.json"
],
"scripts": {
"changelog": "conventional-changelog -p angular -r 2",
"prebuild": "npm run clean:build",
"build": "npm run build:only",
"build:only": "rollup -c",
"prebuild:examples": "npm run build:only",
"build:examples": "npm run data && TZ=America/Los_Angeles scripts/build-examples.sh",
"prebuild:examples-full": "npm run build:only",
"build:examples-full": "TZ=America/Los_Angeles scripts/build-examples.sh 1",
"build:example": "TZ=America/Los_Angeles scripts/build-example.sh",
"build:toc": "npm run build:jekyll && scripts/generate-toc",
"build:site": "rollup -c site/rollup.config.js",
"build:jekyll": "pushd site && bundle exec jekyll build -q && popd",
"build:versions": "scripts/update-version.sh",
"clean": "npm run clean:build && del-cli 'site/data/*' 'examples/compiled/*.png' && find site/examples ! -name 'index.md' ! -name 'data' -type f -delete",
"clean:build": "del-cli 'build/*' !build/vega-lite-schema.json",
"data": "rsync -r node_modules/vega-datasets/data/* site/data",
"build-editor-preview": "scripts/build-editor-preview.sh",
"schema": "mkdir -p build && ts-json-schema-generator -f tsconfig.json -p src/index.ts -t TopLevelSpec --no-type-check --no-ref-encode > build/vega-lite-schema.json && npm run renameschema && cp build/vega-lite-schema.json site/_data/",
"renameschema": "scripts/rename-schema.sh",
"presite": "npm run data && npm run schema && npm run build:site && npm run build:versions && scripts/create-example-pages.sh",
"site": "npm run site:only",
"site:only": "pushd site && bundle exec jekyll serve -I -l && popd",
"format": "eslint --fix && prettier . --write",
"lint": "eslint --quiet && prettier . --check",
"test": "vitest run test/ && npm run lint && npm run schema && vitest run examples/ && npm run test:runtime",
"test:cover": "vitest run test/ --coverage",
"test:runtime": "vitest run test-runtime/",
"watch": "tsc -p tsconfig.build.json -w",
"watch:site": "npm run build:site -- -w",
"release": "release-it"
},
"devDependencies": {
"@release-it/conventional-changelog": "^10.0.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/d3": "^7.4.3",
"@types/node": "^22.13.14",
"@types/pako": "^2.0.3",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-v8": "^3.0.9",
"@vitest/eslint-plugin": "^1.1.38",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"cheerio": "^1.0.0",
"conventional-changelog-cli": "^5.0.0",
"d3": "^7.9.0",
"del-cli": "^6.0.0",
"dotenv": "^16.4.7",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.5",
"fast-json-stable-stringify": "~2.1.0",
"highlight.js": "^11.11.1",
"pako": "^2.1.0",
"playwright": "^1.51.1",
"prettier": "^3.5.3",
"release-it": "18.1.2",
"rollup": "^4.37.0",
"rollup-plugin-bundle-size": "^1.0.3",
"serve": "^14.2.4",
"terser": "^5.39.0",
"ts-json-schema-generator": "^2.3.0",
"typescript": "~5.8.2",
"typescript-eslint": "^8.28.0",
"vega-cli": "^6.1.2",
"vega-datasets": "^3.0.1",
"vega-embed": "^7.0.1",
"vega-tooltip": "^1.0.0",
"vitest": "^3.0.9",
"yaml-front-matter": "^4.1.1"
},
"dependencies": {
"json-stringify-pretty-compact": "~4.0.0",
"tslib": "~2.8.1",
"vega-event-selector": "~4.0.0",
"vega-expression": "~6.0.0",
"vega-util": "~2.0.0",
"yargs": "~17.7.2"
},
"peerDependencies": {
"vega": "^6.0.0"
},
"engines": {
"node": ">=18"
}
}