UNPKG

vis-network

Version:

A dynamic, browser-based visualization library.

145 lines (144 loc) 5.78 kB
{ "name": "vis-network", "version": "9.1.9", "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": [ "HISTORY.md", "LICENSE*", "declarations", "dist", "esnext", "peer", "standalone", "styles" ], "funding": { "type": "opencollective", "url": "https://opencollective.com/visjs" }, "scripts": { "serve": "serve -l tcp://127.0.0.1:58253", "test": "npm run test:unit && npm run test:e2e:functional && npm run test:e2e:visual", "test:e2e:functional": "cross-env CYPRESS_FUNCTIONAL=true npm run test:e2e:headless", "test:e2e:gui": "start-server-and-test test:e2e:transpile-watch-and-serve \"http://127.0.0.1:58253\" \"cypress open\"", "test:e2e:headless": "start-server-and-test test:e2e:transpile-and-serve \"http://127.0.0.1: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": "shx rm -rf \"cypress/snapshots/*\" && cross-env 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": "cross-env CYPRESS_VIS_NETWORK_TAG=latest npm run test:e2e:visual:update:base", "test:e2e:visual:verify:base": "cross-env 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": "cross-env CYPRESS_VIS_NETWORK_TAG=latest npm run test:e2e:visual:verify:base", "test:unit": "cross-env 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": "shx mkdir -p dist && shx cp -r \"types/\" dist && tsc -p tsconfig.types.json", "build:legacy:code": "rollup --bundleConfigAsCjs --config rollup.config.js", "build:legacy:images": "shx mkdir -p dist/img/network && shx cp \"lib/assets/*\" dist/img/network", "build:declarations": "shx mkdir -p declarations && shx cp -r \"types/*\" declarations && tsc -p tsconfig.declarations.json", "build:code": "rollup --bundleConfigAsCjs --config rollup.build.js", "build:watch": "rollup --bundleConfigAsCjs --watch --config rollup.build.js", "prepublishOnly": "npm run build", "generate-examples-index": "generate-examples-index --config generate-examples-index.json", "style": "prettier --check .", "style-fix": "prettier --write .", "lint": "eslint --ext .js,.ts .", "lint-fix": "eslint --fix --ext .js,.ts .", "clean": "shx rm -rf \"declarations\" \"dist\" \"examples/index.html\" \"examples/static/*\" \"peer\" \"standalone\" \"styles\" \"vis-network*\" \"cypress/{fixtures,integration,pages,support}/**/*.js{,.map}\" \"cypress/snapshots/{actual,diff}/*\"", "prepare": "husky install" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,ts,css,html,json,md,yml,yaml}": "prettier --write", "*.{js,ts}": "eslint --fix", ".*.{js,ts,css,html,json,md,yml,yaml}": "prettier --write", ".*.{js,ts}": "eslint --fix" }, "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 || ^0.4.0", "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "vis-data": "^6.3.0 || ^7.0.0", "vis-util": "^5.0.1" }, "devDependencies": { "@babel/plugin-proposal-object-rest-spread": "7.18.0", "@egjs/hammerjs": "2.0.17", "@mdi/font": "7.3.67", "@semantic-release/commit-analyzer": "11.0.0", "@semantic-release/github": "9.2.1", "@semantic-release/npm": "11.0.1", "@semantic-release/release-notes-generator": "12.0.0", "@types/chai": "4.3.9", "@types/mocha": "10.0.3", "@types/sinon": "10.0.20", "@types/uuid": "9.0.6", "compare-versions": "6.1.0", "component-emitter": "1.3.0", "cross-env": "7.0.3", "cypress": "13.3.0", "cypress-visual-regression": "3.0.0", "eslint": "8.52.0", "gh-pages": "6.0.0", "husky": "8.0.3", "jsdom": "22.1.0", "jsdom-global": "3.0.2", "keycharm": "0.4.0", "lint-staged": "15.0.2", "mocha": "10.2.0", "nyc": "15.1.0", "postcss": "8.4.31", "sazerac": "2.0.0", "semantic-release": "22.0.6", "serve": "14.2.1", "shx": "0.3.4", "sinon": "17.0.1", "snap-shot-it": "7.9.10", "start-server-and-test": "2.0.1", "tmp-promise": "3.0.2", "uuid": "9.0.1", "vis-data": "7.1.7", "vis-dev-utils": "4.0.41", "vis-util": "5.0.5" } }