UNPKG

4.93 kBJSONView Raw
1{
2 "name": "vis-network",
3 "version": "6.3.2",
4 "description": "A dynamic, browser-based visualization library.",
5 "homepage": "http://visjs.org/",
6 "license": "(Apache-2.0 OR MIT)",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/visjs/vis-network.git"
10 },
11 "bugs": {
12 "url": "https://github.com/visjs/vis-network/issues"
13 },
14 "keywords": [
15 "vis",
16 "visualization",
17 "web based",
18 "browser based",
19 "typescript",
20 "javascript",
21 "chart",
22 "graph",
23 "network",
24 "browser"
25 ],
26 "main": "dist/vis-network.min.js",
27 "module": "dist/vis-network.esm.min.js",
28 "types": "dist/types/index-legacy-bundle.d.ts",
29 "files": [
30 "LICENSE*",
31 "declarations",
32 "dist",
33 "peer",
34 "standalone",
35 "styles"
36 ],
37 "scripts": {
38 "serve": "serve -l tcp://localhost:58253",
39 "test": "npm run test:unit && npm run test:e2e",
40 "test:e2e": "start-server-and-test serve http://localhost:58253 test:e2e:no-server",
41 "test:e2e:gui": "start-server-and-test serve http://localhost:58253 test:e2e:gui:no-server",
42 "test:e2e:gui:no-server": "cypress open",
43 "test:e2e:no-server": "cypress run",
44 "test:unit": "BABEL_ENV=test-cov nyc mocha --exit",
45 "build:legacy:types": "cpy --parents types dist && tsc -p tsconfig.types.json",
46 "build:legacy:code": "rollup --config rollup.config.js",
47 "build:legacy:images": "cpy lib/assets/* dist/img/network/",
48 "build:declarations": "cpy --cwd types --parents '**/*' ../declarations && tsc -p tsconfig.declarations.json",
49 "build:code": "rollup --config rollup.build.js",
50 "prepublishOnly": "npm run build",
51 "build": "npm run build:declarations && npm run build:code && npm run build:legacy:types && npm run build:legacy:code && npm run build:legacy:images",
52 "watch": "rollup --watch --config rollup.build.js",
53 "watch-dev": "npm run watch-dev",
54 "generate-examples-index": "generate-examples-index -t \"Vis Network Examples\" -c mynetwork -d ./examples -w https://visjs.github.io/vis-network -S ./scripts/examples-index/screenshot-script.js -lis",
55 "lint": "npm run lint:js && npm run lint:ts",
56 "lint:js": "eslint '{cypress,lib,test}/**/*.js'",
57 "lint:ts": "eslint '{cypress,lib,test}/**/*.ts'",
58 "clean": "rimraf \"declarations\" \"dist\" \"examples/index.html\" \"examples/thumbnails\" \"peer\" \"standalone\" \"styles\" \"vis-network*\"",
59 "postinstall": "opencollective postinstall || exit 0"
60 },
61 "peerDependencies": {
62 "keycharm": "^0.2.0",
63 "moment": "^2.24.0",
64 "vis-data": "^6.2.1",
65 "vis-util": "^1.1.8"
66 },
67 "devDependencies": {
68 "@babel/core": "7.6.4",
69 "@babel/plugin-proposal-class-properties": "7.5.5",
70 "@babel/preset-env": "7.6.3",
71 "@babel/preset-typescript": "7.6.0",
72 "@babel/register": "7.6.2",
73 "@babel/runtime": "7.6.3",
74 "@egjs/hammerjs": "2.0.15",
75 "@semantic-release/commit-analyzer": "6.3.1",
76 "@semantic-release/github": "5.5.5",
77 "@semantic-release/npm": "5.2.0",
78 "@semantic-release/release-notes-generator": "7.3.2",
79 "@types/chai": "4.2.4",
80 "@types/cheerio": "0.22.13",
81 "@types/hammerjs": "2.0.36",
82 "@types/mocha": "5.2.7",
83 "@types/prettier": "1.18.3",
84 "@types/sinon": "7.5.0",
85 "@types/timsort": "0.3.0",
86 "@types/yargs": "13.0.3",
87 "@typescript-eslint/eslint-plugin": "2.5.0",
88 "@typescript-eslint/parser": "2.5.0",
89 "@wessberg/rollup-plugin-ts": "1.1.73",
90 "babel-plugin-css-modules-transform": "1.6.2",
91 "babel-plugin-istanbul": "5.2.0",
92 "babel-preset-minify": "0.5.1",
93 "chai": "4.2.0",
94 "cheerio": "1.0.0-rc.3",
95 "component-emitter": "1.3.0",
96 "core-js": "3.3.4",
97 "cpy-cli": "2.0.0",
98 "cypress": "3.5.0",
99 "eslint": "6.6.0",
100 "eslint-config-prettier": "6.5.0",
101 "eslint-plugin-cypress": "2.7.0",
102 "eslint-plugin-prettier": "3.1.1",
103 "gh-pages": "2.1.1",
104 "globby": "10.0.1",
105 "jsdoc": "3.6.3",
106 "jsdom": "15.2.0",
107 "jsdom-global": "3.0.2",
108 "keycharm": "0.2.0",
109 "mocha": "6.2.2",
110 "moment": "2.24.0",
111 "nyc": "14.1.1",
112 "opencollective": "1.0.3",
113 "pageres": "5.2.0",
114 "postcss-assets": "5.0.0",
115 "prettier": "1.18.2",
116 "rimraf": "3.0.0",
117 "rollup": "1.25.2",
118 "rollup-plugin-babel": "4.3.3",
119 "rollup-plugin-commonjs": "10.1.0",
120 "rollup-plugin-copy": "3.1.0",
121 "rollup-plugin-css-porter": "1.0.2",
122 "rollup-plugin-node-resolve": "5.2.0",
123 "rollup-plugin-postcss": "2.0.3",
124 "rollup-plugin-terser": "5.1.2",
125 "rollup-plugin-typescript2": "0.24.3",
126 "semantic-release": "15.13.28",
127 "serve": "11.2.0",
128 "sinon": "7.5.0",
129 "start-server-and-test": "1.10.6",
130 "timsort": "0.3.0",
131 "typescript": "3.6.4",
132 "vis-data": "6.2.1",
133 "vis-dev-utils": "1.1.0",
134 "vis-util": "1.1.8",
135 "yargs": "14.2.0"
136 },
137 "collective": {
138 "type": "opencollective",
139 "url": "https://opencollective.com/visjs"
140 }
141}