UNPKG

vis-network

Version:

A dynamic, browser-based visualization library.

178 lines (177 loc) 6.68 kB
{ "name": "vis-network", "version": "8.1.0", "description": "A dynamic, browser-based visualization library.", "homepage": "https://visjs.github.io/vis-network/", "license": "(Apache-2.0 OR MIT)", "repository": { "type": "git", "url": "https://github.com/visjs/vis-network.git" }, "bugs": { "url": "https://github.com/visjs/vis-network/issues" }, "keywords": [ "vis", "visualization", "web based", "browser based", "typescript", "javascript", "chart", "graph", "network", "browser" ], "browser": "peer/umd/vis-network.min.js", "jsnext": "esnext/esm/vis-network.js", "main": "peer/umd/vis-network.js", "module": "peer/esm/vis-network.js", "types": "declarations/index.d.ts", "files": [ "LICENSE*", "declarations", "dist", "esnext", "peer", "standalone", "styles" ], "funding": { "type": "opencollective", "url": "https://opencollective.com/visjs" }, "scripts": { "serve": "serve -l tcp://localhost:58253", "test": "npm run test:unit && npm run test:e2e:functional && npm run test:e2e:visual", "test:e2e:functional": "CYPRESS_FUNCTIONAL=true npm run test:e2e:headless", "test:e2e:gui": "start-server-and-test test:e2e:transpile-watch-and-serve :58253 \"cypress open\"", "test:e2e:headless": "start-server-and-test test:e2e:transpile-and-serve :58253 \"cypress run\"", "test:e2e:transpile": "tsc --project cypress", "test:e2e:transpile-and-serve": "npm run test:e2e:transpile && npm run serve", "test:e2e:transpile-and-watch": "npm run test:e2e:transpile -- --watch", "test:e2e:transpile-watch-and-serve": "npm run test:e2e:transpile && start-server-and-test serve :58253 test:e2e:transpile-and-watch", "test:e2e:visual": "npm run test:e2e:visual:update:latest && npm run test:e2e:visual:verify:head", "test:e2e:visual:update:base": "rimraf \"cypress/snapshots/*\" && CYPRESS_VISUAL=true CYPRESS_UPDATE=true npm run test:e2e:headless", "test:e2e:visual:update:head": "npm run test:e2e:visual:update:base", "test:e2e:visual:update:latest": "CYPRESS_VIS_NETWORK_TAG=latest npm run test:e2e:visual:update:base", "test:e2e:visual:verify:base": "CYPRESS_VISUAL=true npm run test:e2e:headless", "test:e2e:visual:verify:head": "npm run test:e2e:visual:verify:base", "test:e2e:visual:verify:latest": "CYPRESS_VIS_NETWORK_TAG=latest npm run test:e2e:visual:verify:base", "test:unit": "BABEL_ENV=test-cov nyc mocha --exit", "build": "npm run build:declarations && npm run build:code && npm run build:legacy:types && npm run build:legacy:code && npm run build:legacy:images", "build:legacy:types": "cpy --parents \"types/**/*\" dist && tsc -p tsconfig.types.json", "build:legacy:code": "rollup --config rollup.config.js", "build:legacy:images": "cpy \"lib/assets/*\" dist/img/network", "build:declarations": "cpy --cwd=types --parents \"**/*\" ../declarations && tsc -p tsconfig.declarations.json", "build:code": "rollup --config rollup.build.js", "build:watch": "rollup --watch --config rollup.build.js", "prepublishOnly": "npm run build", "generate-examples-index": "generate-examples-index --config generate-examples-index.json", "lint": "eslint --ext js,json,ts cypress examples lib test", "clean": "rimraf \"declarations\" \"dist\" \"examples/index.html\" \"examples/thumbnails\" \"peer\" \"standalone\" \"styles\" \"vis-network*\" \"cypress/{fixtures,integration,pages,support}/**/*.js{,.map}\" \"cypress/snapshots/{actual,diff}/*\"", "postinstall": "opencollective postinstall || exit 0" }, "config": { "snap-shot-it": { "sortSnapshots": true, "useRelativePath": true } }, "peerDependencies": { "@egjs/hammerjs": "^2.0.0", "component-emitter": "^1.3.0", "keycharm": "^0.2.0 || ^0.3.0", "timsort": "^0.3.0", "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0", "vis-data": "^7.0.0", "vis-util": "^3.0.0 || ^4.0.0" }, "devDependencies": { "@babel/core": "7.11.1", "@babel/plugin-proposal-class-properties": "7.10.4", "@babel/plugin-transform-runtime": "7.11.0", "@babel/preset-env": "7.11.0", "@babel/preset-typescript": "7.10.4", "@babel/register": "7.10.5", "@babel/runtime-corejs3": "7.11.2", "@egjs/hammerjs": "2.0.17", "@mdi/font": "5.4.55", "@rollup/plugin-commonjs": "14.0.0", "@rollup/plugin-image": "2.0.5", "@rollup/plugin-json": "4.1.0", "@rollup/plugin-node-resolve": "8.4.0", "@rollup/plugin-strip": "2.0.0", "@semantic-release/commit-analyzer": "8.0.1", "@semantic-release/github": "7.0.7", "@semantic-release/npm": "7.0.5", "@semantic-release/release-notes-generator": "9.0.1", "@types/chai": "4.2.12", "@types/mocha": "8.0.1", "@types/sinon": "9.0.4", "@types/timsort": "0.3.0", "@types/uuid": "8.0.1", "@typescript-eslint/eslint-plugin": "3.8.0", "@typescript-eslint/parser": "3.8.0", "babel-plugin-css-modules-transform": "1.6.2", "babel-plugin-istanbul": "6.0.0", "chai": "4.2.0", "compare-versions": "3.6.0", "component-emitter": "1.3.0", "core-js": "3.6.5", "cpy-cli": "3.1.1", "cypress": "4.12.1", "cypress-visual-regression": "1.4.0", "eslint": "7.6.0", "eslint-config-prettier": "6.11.0", "eslint-plugin-cypress": "2.11.1", "eslint-plugin-prettier": "3.1.4", "gh-pages": "3.1.0", "husky": "4.2.5", "jsdoc": "3.6.5", "jsdom": "16.4.0", "jsdom-global": "3.0.2", "keycharm": "0.3.1", "lint-staged": "10.2.11", "mocha": "8.1.1", "nyc": "15.1.0", "opencollective": "1.0.3", "postcss-assets": "5.0.0", "prettier": "2.0.5", "rimraf": "3.0.2", "rollup": "2.23.1", "rollup-plugin-analyzer": "3.3.0", "rollup-plugin-babel": "4.4.0", "rollup-plugin-commonjs": "10.1.0", "rollup-plugin-copy": "3.3.0", "rollup-plugin-node-resolve": "5.2.0", "rollup-plugin-postcss": "3.1.4", "rollup-plugin-terser": "6.1.0", "rollup-plugin-typescript2": "0.27.2", "sazerac": "2.0.0", "semantic-release": "17.1.1", "serve": "11.3.2", "sinon": "9.0.2", "snap-shot-it": "7.9.3", "start-server-and-test": "1.11.2", "timsort": "0.3.0", "typescript": "3.9.7", "uuid": "8.3.0", "vis-data": "7.0.0", "vis-dev-utils": "2.5.1", "vis-util": "4.3.4" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/visjs" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,json,ts}": "eslint --fix", ".*.{js,json,ts}": "eslint --fix" } }