This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
88 lines (88 loc) · 3.83 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
{
"name": "vega-lite",
"author": "Jeffrey Heer, Dominik Moritz, Kanit \"Ham\" Wongsuphasawat",
"version": "1.3.1",
"collaborators": [
"Kanit Wongsuphasawat <[email protected]> (http://kanitw.yellowpigz.com)",
"Dominik Moritz <[email protected]> (http://www.domoritz.de)",
"Jeffrey Heer <[email protected]> (http://jheer.org)"
],
"description": "Vega-lite provides a higher-level grammar for visual analysis, comparable to ggplot or Tableau, that generates complete Vega specifications.",
"main": "src/vl.js",
"types": "src/vl.d.ts",
"bin": {
"vl2png": "./bin/vl2png",
"vl2svg": "./bin/vl2svg",
"vl2vg": "./bin/vl2vg"
},
"directories": {
"test": "test"
},
"scripts": {
"build": "browserify src/vl.ts -p tsify -d -s vl | exorcist vega-lite.js.map > vega-lite.js ",
"postbuild": "uglifyjs vega-lite.js -cm --source-map vega-lite.min.js.map > vega-lite.min.js && npm run schema",
"build:all": "npm run clean && npm run data && npm run build && npm test && npm run lint && npm run build:images",
"build:images": "npm run data && scripts/generate-images.sh",
"build:toc": "bundle exec jekyll build --incremental -q && scripts/generate-toc",
"cover": "npm run pretest && istanbul cover node_modules/.bin/_mocha -- --recursive",
"clean": "rm -f vega-lite.* vega-lite-schema.json & find -E src test site -regex '.*\\.(js|js.map|d.ts)' -delete & rm -rf examples/_diff examples/_original examples/_output examples/images && rm -rf data",
"data": "rsync -r node_modules/vega-datasets/data/* data",
"deploy": "scripts/deploy.sh",
"deploy:gh": "scripts/deploy-gh.sh",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts' --exclude '**/*.d.ts'",
"prestart": "npm run build && npm run data && scripts/index-examples",
"start": "npm run watch & browser-sync start --server --files 'vega-lite.js' --index 'test-gallery.html'",
"poststart": "rm examples/all-examples.json",
"schema": "typescript-json-schema --required true src/spec.ts ExtendedSpec > vega-lite-schema.json",
"presite": "tsc && npm run build && bower install && npm run data && npm run build:toc",
"site": "bundle exec jekyll serve --incremental",
"pretest": "tsc && npm run data",
"test": "npm run schema && mocha --recursive --require source-map-support/register test examples",
"test:debug": "npm run schema && mocha --debug-brk --recursive --require source-map-support/register test examples",
"watch:build": "watchify src/vl.ts -p tsify -v -d -s vl -o 'exorcist vega-lite.js.map > vega-lite.js'",
"watch:test": "nodemon -x 'npm test && npm run lint'",
"watch": "nodemon -x 'npm run build && npm test && npm run lint'",
"x-compile": "./scripts/examples-compile.sh",
"x-diff": "./scripts/examples-diff.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/vega/vega-lite.git"
},
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/vega/vega-lite/issues"
},
"homepage": "https://github.com/vega/vega-lite",
"devDependencies": {
"@types/chai": "^3.4.34",
"@types/d3": "^3.5.36",
"@types/json-stable-stringify": "^1.0.29",
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.45",
"browser-sync": "~2.17.3",
"browserify": "~13.1.0",
"chai": "~3.5.0",
"cheerio": "~0.22.0",
"exorcist": "~0.4.0",
"istanbul": "~0.4.5",
"mocha": "~3.1.2",
"nodemon": "~1.11.0",
"source-map-support": "~0.4.2",
"tsify": "~2.0.2",
"tslint": "~3.15.1",
"typescript": "^2.0.3",
"typescript-json-schema": "~0.3.4",
"uglify-js": "~2.7.3",
"vega": "~2.6.3",
"vega-datasets": "vega/vega-datasets#gh-pages",
"watchify": "~3.7.0",
"yaml-front-matter": "~3.4.0",
"z-schema": "~3.18.0"
},
"dependencies": {
"datalib": "~1.7.2",
"json-stable-stringify": "~1.0.1",
"yargs": "~6.3.0"
}
}