vis-network
Version:
A dynamic, browser-based visualization library.
164 lines (163 loc) • 6.09 kB
JSON
{
"name": "vis-network",
"version": "9.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": [
"HISTORY.md",
"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": "cross-env 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/*\" && 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": "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",
"style": "prettier --check .",
"style-fix": "prettier --write .",
"lint": "eslint --ext .js,.ts .",
"lint-fix": "eslint --fix --ext .js,.ts .",
"clean": "rimraf \"declarations\" \"dist\" \"examples/index.html\" \"examples/static/*\" \"peer\" \"standalone\" \"styles\" \"vis-network*\" \"cypress/{fixtures,integration,pages,support}/**/*.js{,.map}\" \"cypress/snapshots/{actual,diff}/*\"",
"postinstall": "opencollective postinstall || exit 0",
"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
}
},
"dependency": {
"opencollective": "1.0.3"
},
"peerDependencies": {
"@egjs/hammerjs": "^2.0.0",
"component-emitter": "^1.3.0",
"keycharm": "^0.2.0 || ^0.3.0 || ^0.4.0",
"timsort": "^0.3.0",
"uuid": "^3.4.0 || ^7.0.0 || ^8.0.0",
"vis-data": "^7.0.0",
"vis-util": "^5.0.1"
},
"devDependencies": {
"@egjs/hammerjs": "2.0.17",
"@mdi/font": "5.9.55",
"@semantic-release/commit-analyzer": "8.0.1",
"@semantic-release/github": "7.2.3",
"@semantic-release/npm": "7.1.3",
"@semantic-release/release-notes-generator": "9.0.3",
"@types/chai": "4.2.21",
"@types/mocha": "9.0.0",
"@types/sinon": "10.0.2",
"@types/timsort": "0.3.0",
"@types/uuid": "8.3.1",
"chai": "4.3.4",
"compare-versions": "3.6.0",
"component-emitter": "1.3.0",
"cpy-cli": "3.1.1",
"cross-env": "7.0.3",
"cypress": "8.3.1",
"cypress-visual-regression": "1.6.0",
"eslint": "7.32.0",
"gh-pages": "3.2.3",
"husky": "7.0.2",
"jsdom": "17.0.0",
"jsdom-global": "3.0.2",
"keycharm": "0.4.0",
"lint-staged": "11.1.2",
"mocha": "9.1.1",
"nyc": "15.1.0",
"postcss": "8.3.6",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"rollup": "2.56.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-postcss": "4.0.1",
"rollup-plugin-terser": "7.0.2",
"sazerac": "2.0.0",
"semantic-release": "17.4.7",
"serve": "12.0.0",
"sinon": "11.1.2",
"snap-shot-it": "7.9.6",
"start-server-and-test": "1.13.1",
"timsort": "0.3.0",
"tslib": "2.3.1",
"typescript": "4.4.2",
"uuid": "8.3.2",
"vis-data": "7.1.2",
"vis-dev-utils": "2.9.82",
"vis-util": "5.0.2"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/visjs"
}
}