-
Notifications
You must be signed in to change notification settings - Fork 621
/
package.json
148 lines (148 loc) · 5.62 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
140
141
142
143
144
145
146
147
148
{
"name": "vega-lite",
"author": "Dominik Moritz, Kanit \"Ham\" Wongsuphasawat, Arvind Satyanarayan, Jeffrey Heer",
"version": "5.1.1",
"collaborators": [
"Kanit Wongsuphasawat (http://kanitw.yellowpigz.com)",
"Dominik Moritz (https://www.domoritz.de)",
"Arvind Satyanarayan (https://arvindsatya.com)",
"Jeffrey Heer (https://jheer.org)"
],
"homepage": "https://vega.github.io/vega-lite/",
"description": "Vega-Lite is a concise high-level language for interactive visualization.",
"main": "build/vega-lite.js",
"unpkg": "build/vega-lite.min.js",
"jsdelivr": "build/vega-lite.min.js",
"module": "build/src/index",
"types": "build/src/index.d.ts",
"bin": {
"vl2png": "./bin/vl2png",
"vl2svg": "./bin/vl2svg",
"vl2pdf": "./bin/vl2pdf",
"vl2vg": "./bin/vl2vg"
},
"directories": {
"test": "test"
},
"files": [
"bin",
"build",
"src",
"vega-lite*",
"tsconfig.json"
],
"scripts": {
"changelog": "conventional-changelog -p angular -r 2",
"prebuild": "yarn clean:build",
"build": "yarn build:only",
"build:only": "tsc -p tsconfig.build.json && rollup -c",
"prebuild:examples": "yarn build:only",
"build:examples": "yarn data && TZ=America/Los_Angeles scripts/build-examples.sh",
"prebuild:examples-full": "yarn 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": "yarn 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": "yarn 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",
"predeploy:site": "yarn presite",
"deploy:site": "gh-pages -d site",
"data": "rsync -r node_modules/vega-datasets/data/* site/data",
"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 && yarn renameschema && cp build/vega-lite-schema.json site/_data/",
"renameschema": "scripts/rename-schema.sh",
"presite": "yarn data && yarn schema && yarn build:site && yarn build:versions && scripts/create-example-pages.sh",
"site": "yarn site:only",
"site:only": "pushd site && bundle exec jekyll serve -I -l && popd",
"prettierbase": "prettier '**/*.{md,css,yml}'",
"eslintbase": "eslint .",
"format": "yarn eslintbase --fix && yarn prettierbase --write",
"lint": "yarn eslintbase && yarn prettierbase --check",
"jest": "NODE_OPTIONS=--experimental-vm-modules npx jest",
"test": "yarn jest test/ && yarn lint && yarn schema && yarn jest examples/ && yarn test:runtime",
"test:cover": "yarn jest --collectCoverage test/",
"test:inspect": "node --inspect-brk --experimental-vm-modules ./node_modules/.bin/jest --runInBand test",
"test:runtime": "NODE_OPTIONS=--experimental-vm-modules TZ=America/Los_Angeles npx jest test-runtime/ --config test-runtime/jest-config.json",
"test:runtime:generate": "yarn build:only && del-cli test-runtime/resources && VL_GENERATE_TESTS=true yarn test:runtime",
"watch": "tsc -p tsconfig.build.json -w",
"watch:site": "yarn build:site -w",
"watch:test": "yarn jest --watch test/"
},
"repository": {
"type": "git",
"url": "https://github.com/vega/vega-lite.git"
},
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/vega/vega-lite/issues"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@types/chai": "^4.2.22",
"@types/d3": "^7.0.0",
"@types/jest": "^27.0.2",
"@types/mkdirp": "^1.0.2",
"@types/pako": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"ajv": "^8.6.3",
"ajv-formats": "^2.1.1",
"chai": "^4.3.4",
"cheerio": "^1.0.0-rc.10",
"conventional-changelog-cli": "^2.1.1",
"d3": "^7.0.3",
"del-cli": "^4.0.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.0.1",
"eslint-plugin-prettier": "^4.0.0",
"gh-pages": "^3.2.3",
"highlight.js": "^11.2.0",
"jest": "^27.2.1",
"jest-dev-server": "^6.0.0",
"mkdirp": "^1.0.4",
"pako": "^2.0.4",
"prettier": "^2.4.1",
"puppeteer": "^11.0.0",
"rollup": "^2.57.0",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"serve": "^13.0.2",
"terser": "^5.9.0",
"ts-jest": "^27.0.5",
"ts-json-schema-generator": "^0.97.0",
"typescript": "~4.4.3",
"vega-cli": "^5.21.0",
"vega-datasets": "~2.2.0",
"vega-embed": "^6.19.1",
"vega-tooltip": "^0.27.0",
"yaml-front-matter": "^4.1.1"
},
"dependencies": {
"@types/clone": "~2.1.1",
"array-flat-polyfill": "^1.0.1",
"clone": "~2.1.2",
"fast-deep-equal": "~3.1.3",
"fast-json-stable-stringify": "~2.1.0",
"json-stringify-pretty-compact": "~3.0.0",
"tslib": "~2.3.1",
"vega-event-selector": "~3.0.0",
"vega-expression": "~5.0.0",
"vega-util": "~1.17.0",
"yargs": "~17.2.1"
},
"peerDependencies": {
"vega": "^5.21.0"
},
"engines": {
"node": ">=12"
}
}