forked from vega/vega-lite
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
144 lines (144 loc) · 5.55 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
{
"name": "vega-lite",
"author": "Jeffrey Heer, Dominik Moritz, Kanit \"Ham\" Wongsuphasawat",
"version": "3.0.0-rc13",
"collaborators": [
"Kanit Wongsuphasawat <[email protected]> (http://kanitw.yellowpigz.com)",
"Dominik Moritz <[email protected]> (https://www.domoritz.de)",
"Jeffrey Heer <[email protected]> (http://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",
"vl2vg": "./bin/vl2vg"
},
"directories": {
"test": "test"
},
"scripts": {
"prebuild": "mkdir -p build/src",
"build": "npm run build:only",
"build:only": "tsc && rollup -c",
"postbuild": "terser build/vega-lite.js -cm --source-map content=build/vega-lite.js.map,filename=build/vega-lite.min.js.map -o build/vega-lite.min.js && npm run schema",
"build:examples": "npm run build:only",
"postbuild:examples": "npm run data && TZ=America/Los_Angeles scripts/build-examples.sh",
"build:examples-full": "npm run build:only",
"postbuild:examples-full": "TZ=America/Los_Angeles scripts/build-examples.sh 1",
"build:example": "TZ=America/Los_Angeles scripts/build-example.sh",
"build:toc": "bundle exec jekyll build -q && scripts/generate-toc",
"build:site": "tsc -p site && webpack --config site/webpack.config.js",
"build:versions": "scripts/update-version.sh",
"clean": "rm -rf build && rm -f examples/compiled/*.png && find site/examples ! -name 'index.md' -type f -delete",
"data": "rsync -r node_modules/vega-datasets/data/* data",
"deploy": "scripts/deploy.sh",
"deploy:gh": "scripts/deploy-gh.sh",
"deploy:schema": "scripts/deploy-schema.sh",
"preschema": "npm run prebuild",
"schema": "node --stack-size=4000 ./node_modules/.bin/ts-json-schema-generator --no-type-check --path tsconfig.json --type TopLevelSpec > build/vega-lite-schema.json && npm run renameschema && cp build/vega-lite-schema.json _data/",
"renameschema": "scripts/rename-schema.sh",
"presite": "npm run prebuild && npm run data && npm run build:site && npm run build:toc && npm run build:versions && scripts/create-example-pages",
"site": "bundle exec jekyll serve --incremental",
"prettierbase": "prettier '{src,test,test-runtime,site,typings}/**/*.{ts,md,css}'",
"format": "tslint -p . --fix -e 'package.json' && npm run prettierbase -- --write",
"lint": "tslint -p . -e 'package.json' && npm run prettierbase -- --check",
"test": "jest test/ && npm run lint && npm run schema && jest examples/ && npm run test:runtime",
"test:inspect": "node --inspect-brk ./node_modules/.bin/jest --runInBand test",
"test:runtime": "TZ=America/Los_Angeles jest test-runtime/",
"test:runtime:generate": "rm -Rf test-runtime/resources && VL_GENERATE_TESTS=true npm run test:runtime",
"watch:build": "npm run build:only && concurrently --kill-others -n Typescript,Rollup 'tsc -w' 'rollup -c -w'",
"watch:site": "concurrently --kill-others -n Typescript,Webpack 'tsc -p site --watch' 'webpack --config site/webpack.config.js --mode development --watch'",
"watch:test": "jest --watch"
},
"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": {
"@types/chai": "^4.1.7",
"@types/d3": "^5.7.1",
"@types/highlight.js": "^9.12.3",
"@types/jest": "^24.0.6",
"@types/mkdirp": "^0.5.2",
"@types/node": "^11.9.5",
"@types/puppeteer": "^1.12.1",
"ajv": "^6.9.2",
"chai": "^4.2.0",
"cheerio": "^1.0.0-rc.2",
"codecov": "^3.2.0",
"concurrently": "^4.1.0",
"d3": "^5.9.1",
"highlight.js": "^9.14.2",
"http-server": "^0.11.1",
"jest": "^24.1.0",
"jest-puppeteer": "^4.0.0",
"mkdirp": "^0.5.1",
"prettier": "^1.16.4",
"puppeteer": "^1.12.2",
"rollup": "^1.2.3",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-sourcemaps": "^0.4.2",
"svg2png-many": "^0.0.7",
"terser": "^3.16.1",
"ts-jest": "^24.0.0",
"ts-json-schema-generator": "^0.40.0",
"tslint": "5.13.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.3.3333",
"vega-cli": "^5.0.0-rc2",
"vega-datasets": "^1.22.0",
"vega-embed": "^3.29.1",
"vega-tooltip": "^0.16.0",
"webpack": "^4.29.5",
"webpack-cli": "^3.2.3",
"yaml-front-matter": "^4.0.0"
},
"dependencies": {
"@types/clone": "^0.1.30",
"clone": "^2.1.2",
"fast-deep-equal": "^2.0.1",
"fast-json-stable-stringify": "^2.0.0",
"json-stringify-pretty-compact": "^2.0.0",
"tslib": "^1.9.3",
"vega-event-selector": "^2.0.0",
"vega-expression": "^2.5.0",
"vega-typings": "0.5.1",
"vega-util": "^1.8.0",
"yargs": "^13.2.1"
},
"jest": {
"preset": "jest-puppeteer",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testPathIgnorePatterns": [
"node_modules",
"<rootDir>/build",
"_site",
"src"
],
"coverageDirectory": "./coverage/",
"collectCoverage": false
}
}