1 | {
|
2 | "name": "cytoscape",
|
3 | "version": "3.23.0",
|
4 | "license": "MIT",
|
5 | "description": "Graph theory (a.k.a. network) library for analysis and visualisation",
|
6 | "homepage": "http://js.cytoscape.org",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/cytoscape/cytoscape.js.git"
|
10 | },
|
11 | "bugs": {
|
12 | "url": "https://github.com/cytoscape/cytoscape.js/issues"
|
13 | },
|
14 | "keywords": [
|
15 | "graph",
|
16 | "graph-theory",
|
17 | "network",
|
18 | "node",
|
19 | "edge",
|
20 | "vertex",
|
21 | "link",
|
22 | "analysis",
|
23 | "visualisation",
|
24 | "visualization",
|
25 | "draw",
|
26 | "render",
|
27 | "biojs",
|
28 | "cytoscape"
|
29 | ],
|
30 | "engines": {
|
31 | "node": ">=0.10"
|
32 | },
|
33 | "main": "dist/cytoscape.cjs.js",
|
34 | "unpkg": "dist/cytoscape.min.js",
|
35 | "jsdelivr": "dist/cytoscape.min.js",
|
36 | "scripts": {
|
37 | "lint": "eslint src benchmark",
|
38 | "build": "rollup -c",
|
39 | "build:esm": "cross-env FILE=esm rollup -c",
|
40 | "build:esm.min": "cross-env FILE=esm.min rollup -c",
|
41 | "build:cjs": "cross-env FILE=cjs rollup -c",
|
42 | "build:umd": "cross-env FILE=umd rollup -c",
|
43 | "build:min": "cross-env FILE=min rollup -c",
|
44 | "clean": "rimraf build/*",
|
45 | "copyright": "node -r esm license-update",
|
46 | "dist:copy": "cpy build/cytoscape.umd.js build/cytoscape.min.js build/cytoscape.cjs.js build/cytoscape.esm.js build/cytoscape.esm.min.js dist",
|
47 | "dist": "cross-env NODE_ENV=production run-s build dist:*",
|
48 | "release": "run-s copyright dist docs",
|
49 | "postpublish": "run-s docs:push",
|
50 | "watch": "run-s watch:fast",
|
51 | "watch:sync": "livereload \"build, debug\" -w 500",
|
52 | "watch:http": "http-server -s -c -1 -o debug",
|
53 | "watch:fast": "run-p watch:sync watch:http watch:build:fast",
|
54 | "watch:umd": "run-p watch:sync watch:http watch:build:umd",
|
55 | "watch:build:fast": "cross-env FILE=umd SOURCEMAPS=true BABEL=false NODE_ENV=development rollup -c -w",
|
56 | "watch:build:umd": "cross-env FILE=umd SOURCEMAPS=true NODE_ENV=development rollup -c -w",
|
57 | "watch:build:cjs": "cross-env FILE=cjs SOURCEMAPS=true NODE_ENV=development rollup -c -w",
|
58 | "test": "run-s test:js test:modules lint",
|
59 | "test:js": "mocha -r esm --recursive",
|
60 | "test:js:debug": "mocha inspect -r esm --recursive",
|
61 | "test:build": "cross-env TEST_BUILD=true mocha",
|
62 | "test:modules": "mocha -r esm test/modules",
|
63 | "test:modules:debug": "mocha inspect -r esm test/modules",
|
64 | "travis": "run-s build test:build test:modules lint",
|
65 | "docs": "run-s docs:build docs:js",
|
66 | "docs:js": "cpy build/cytoscape.min.js documentation/js",
|
67 | "docs:build": "node documentation/docmaker.js",
|
68 | "docs:push": "gh-pages -d documentation",
|
69 | "benchmark": "run-s benchmark:all",
|
70 | "benchmark:download": "download https://raw.githubusercontent.com/cytoscape/cytoscape.js/master/dist/cytoscape.cjs.js --out build --filename cytoscape.benchmark.js",
|
71 | "benchmark:all:exec": "node benchmark/all",
|
72 | "benchmark:all": "run-s benchmark:download benchmark:all:exec",
|
73 | "benchmark:single:exec": "node benchmark/single",
|
74 | "benchmark:single": "run-s benchmark:download benchmark:single:exec"
|
75 | },
|
76 | "devDependencies": {
|
77 | "@babel/core": "^7.3.4",
|
78 | "@babel/preset-env": "^7.5.5",
|
79 | "@rollup/plugin-babel": "^5.0.0",
|
80 | "@rollup/plugin-commonjs": "^11.1.0",
|
81 | "@rollup/plugin-node-resolve": "^7.1.3",
|
82 | "@rollup/plugin-replace": "^2.3.2",
|
83 | "benchmark": "^2.1.4",
|
84 | "bluebird": "^3.5.0",
|
85 | "chai": "^4.1.2",
|
86 | "cpy-cli": "^3.1.1",
|
87 | "cross-env": "^7.0.0",
|
88 | "download-cli": "^1.0.5",
|
89 | "eslint": "^6.0.0",
|
90 | "esm": "^3.2.25",
|
91 | "gh-pages": "^2.1.1",
|
92 | "handlebars": "^4.7.6",
|
93 | "highlight.js": "^10.0.0",
|
94 | "http-server": "^0.12.3",
|
95 | "jsonlint": "^1.6.2",
|
96 | "livereload": "^0.9.1",
|
97 | "marked": "^4.0.10",
|
98 | "mocha": "^7.1.2",
|
99 | "npm-run-all": "^4.1.5",
|
100 | "rimraf": "^3.0.0",
|
101 | "rollup": "^2.8.2",
|
102 | "rollup-plugin-license": "^2.3.0",
|
103 | "rollup-plugin-terser": "^5.3.0"
|
104 | },
|
105 | "dependencies": {
|
106 | "heap": "^0.2.6",
|
107 | "lodash": "^4.17.21"
|
108 | }
|
109 | }
|