forked from vega/vega-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (130 loc) · 6.23 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
{
"name": "vega-lite",
"author": "Jeffrey Heer, Dominik Moritz, Kanit \"Ham\" Wongsuphasawat",
"version": "2.3.1",
"collaborators": [
"Kanit Wongsuphasawat <kanitw@gmail.com> (http://kanitw.yellowpigz.com)",
"Dominik Moritz <domoritz@cs.washington.edu> (https://www.domoritz.de)",
"Jeffrey Heer <jheer@uw.edu> (http://jheer.org)"
],
"homepage": "https://vega.github.io/vega-lite/",
"description": "Vega-Lite is a concise high-level language for interactive visualization.",
"main": "build/src/index.js",
"unpkg": "build/vega-lite.min.js",
"jsdelivr": "build/vega-lite.min.js",
"types": "typings/vega-lite.d.ts",
"bin": {
"vl2png": "./bin/vl2png",
"vl2svg": "./bin/vl2svg",
"vl2vg": "./bin/vl2vg"
},
"directories": {
"test": "test"
},
"scripts": {
"pretsc": "mkdir -p build && rm -rf build/*/** && cp package.json build/",
"prebuild": "mkdir -p build/site build/test-gallery",
"build": "npm run build:only",
"build:only": "tsc && cp package.json build && browserify src/index.ts -p tsify -d -s vl | exorcist build/vega-lite.js.map > build/vega-lite.js",
"postbuild": "node node_modules/uglify-js/bin/uglifyjs 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 data && npm run build:only && npm run build:examples-only",
"build:examples-only": "npm run build:example && npm run build:examples-normalized",
"build:examples-normalized": "rm -f examples/specs/normalized/*.vl.json && scripts/build-normalized-examples",
"build:example": "TZ=America/Los_Angeles scripts/build-examples.sh",
"build:toc": "bundle exec jekyll build -q && scripts/generate-toc",
"build:site": "browserify site/static/main.ts -p [tsify -p site] -d | exorcist build/site/main.js.map > build/site/main.js",
"build:versions": "scripts/update-version.sh",
"build:test-gallery": "browserify test-gallery/main.ts -p [tsify -p test-gallery] -d > build/test-gallery/main.js",
"check:examples": "scripts/check-examples.sh",
"check:schema": "scripts/check-schema.sh",
"clean": "rm -rf build && rm -f vega-lite.* & find -E src test site examples -regex '.*\\.(js|js.map|d.ts)' -delete && rm -f examples/compiled/*.png && find site/examples ! -name 'index.md' -type f -exec rm -f {} +",
"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",
"prestart": "npm run data && npm run build && scripts/index-examples",
"start": "nodemon -x 'npm run build:test-gallery' & browser-sync start --server --files 'build/test-gallery/main.js' --index 'test-gallery/index.html'",
"poststart": "rm examples/all-examples.json",
"preschema": "npm run prebuild",
"schema": "ts-json-schema-generator --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",
"lint": "tslint -p .",
"test": "npm run build:only && npm run test:only && npm run test:runtime && npm run lint",
"posttest": "npm run schema && npm run data && npm run mocha:examples",
"test:nocompile": "npm run test:only && npm run test:runtime && npm run lint && npm run mocha:examples",
"test:only": "nyc --reporter=html --reporter=text-summary npm run mocha:test",
"test:runtime": "TZ=America/Los_Angeles wdio wdio.conf.js",
"test:runtime:generate": "rm -Rf test-runtime/resources && VL_GENERATE_TESTS=true npm run test:runtime",
"test:debug": "tsc && mocha --recursive --debug-brk --inspect build/test",
"test:debug-examples": "tsc && npm run schema && mocha --recursive --debug-brk --inspect build/examples",
"mocha:test": "mocha --require source-map-support/register --reporter dot --recursive build/test",
"mocha:examples": "mocha --require source-map-support/register --reporter dot --recursive build/examples",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json",
"watch:build": "watchify src/index.ts -p tsify -v -d -s vl -o 'exorcist build/vega-lite.js.map > build/vega-lite.js'",
"watch:test": "nodemon -x 'npm test'",
"watch": "nodemon -x 'npm run build && npm run test:nocompile' # already ran schema in build"
},
"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.2",
"@types/d3": "^4.13.0",
"@types/highlight.js": "^9.12.2",
"@types/mkdirp": "^0.5.2",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.7",
"@types/webdriverio": "^4.10.0",
"ajv": "^6.2.1",
"browser-sync": "^2.23.6",
"browserify-shim": "^3.8.14",
"browserify": "^16.1.1",
"chai": "^4.1.2",
"cheerio": "^1.0.0-rc.2",
"chromedriver": "^2.36.0",
"codecov": "^3.0.0",
"d3": "^4.13.0",
"exorcist": "^1.0.1",
"highlight.js": "^9.12.0",
"mkdirp": "^0.5.1",
"mocha": "^5.0.4",
"nodemon": "^1.17.1",
"nyc": "^11.4.1",
"source-map-support": "^0.5.3",
"svg2png-many": "^0.0.7",
"ts-json-schema-generator": "^0.21.0",
"ts-node": "^5.0.1",
"tsify": "^3.0.4",
"tslint-eslint-rules": "^5.1.0",
"tslint": "5.9.1",
"typescript": "^2.7.2",
"uglify-js": "^3.3.14",
"vega-datasets": "^1.18.0",
"vega-embed": "^3.2.0",
"vega-tooltip": "^0.6.1",
"vega": "^3.2.1",
"watchify": "^3.11.0",
"wdio-chromedriver-service": "^0.1.2",
"wdio-dot-reporter": "0.0.9",
"wdio-mocha-framework": "^0.5.13",
"wdio-static-server-service": "^1.0.1",
"webdriverio": "^4.12.0",
"yaml-front-matter": "^4.0.0"
},
"dependencies": {
"@types/json-stable-stringify": "^1.0.32",
"vega-typings": "^0.2.11",
"json-stable-stringify": "^1.0.1",
"tslib": "^1.9.0",
"vega-event-selector": "^2.0.0",
"vega-util": "^1.7.0",
"yargs": "^11.0.0"
}
}