forked from cytoscape/cytoscape.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (136 loc) · 4.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "cytoscape",
"version": "3.32.0-unstable",
"license": "MIT",
"description": "Graph theory (a.k.a. network) library for analysis and visualisation",
"homepage": "http://js.cytoscape.org",
"repository": {
"type": "git",
"url": "https://github.com/cytoscape/cytoscape.js.git"
},
"bugs": {
"url": "https://github.com/cytoscape/cytoscape.js/issues"
},
"keywords": [
"graph",
"graph-theory",
"network",
"node",
"edge",
"vertex",
"link",
"analysis",
"visualisation",
"visualization",
"draw",
"render",
"biojs",
"cytoscape"
],
"engines": {
"node": ">=0.10"
},
"types": "index.d.ts",
"main": "dist/cytoscape.cjs.js",
"module": "dist/cytoscape.esm.mjs",
"exports": {
".": {
"import": "./dist/cytoscape.esm.mjs",
"require": "./dist/cytoscape.cjs.js",
"types": "./index.d.ts"
},
"./dist/cytoscape.esm": {
"import": "./dist/cytoscape.esm.mjs"
},
"./dist/cytoscape.esm.min": {
"import": "./dist/cytoscape.esm.min.mjs"
},
"./dist/cytoscape.umd.js": {
"import": "./dist/cytoscape.umd.js",
"require": "./dist/cytoscape.umd.js"
},
"./dist/*": {
"import": "./dist/*.js",
"require": "./dist/*.js"
}
},
"unpkg": "dist/cytoscape.min.js",
"jsdelivr": "dist/cytoscape.min.js",
"scripts": {
"lint": "eslint src/**/*.mjs",
"build": "rollup -c",
"build:esm": "cross-env FILE=esm rollup -c",
"build:esm.min": "cross-env FILE=esm.min rollup -c",
"build:cjs": "cross-env FILE=cjs rollup -c",
"build:umd": "cross-env FILE=umd rollup -c",
"build:min": "cross-env FILE=min rollup -c",
"clean": "rimraf build/*",
"copyright": "node license-update.mjs",
"dist:copy": "cpy --flat build/cytoscape.umd.js build/cytoscape.min.js build/cytoscape.cjs.js build/cytoscape.esm.mjs build/cytoscape.esm.min.mjs dist",
"dist": "cross-env NODE_ENV=production run-s build dist:*",
"release": "run-s copyright dist docs",
"watch": "run-s watch:fast",
"watch:sync": "livereload \"build, debug\" -w 500",
"watch:http": "http-server -p 3333 -s -c -1 -o debug",
"watch:fast": "run-p watch:sync watch:http watch:build:fast",
"watch:umd": "run-p watch:sync watch:http watch:build:umd",
"watch:build:fast": "cross-env FILE=umd SOURCEMAPS=true BABEL=false NODE_ENV=development rollup -c -w",
"watch:build:umd": "cross-env FILE=umd SOURCEMAPS=true NODE_ENV=development rollup -c -w",
"watch:build:cjs": "cross-env FILE=cjs SOURCEMAPS=true NODE_ENV=development rollup -c -w",
"test": "run-s test:js test:modules test:playwright lint",
"test:js": "mocha --recursive",
"test:js:debug": "mocha inspect --recursive",
"test:build": "cross-env TEST_BUILD=true mocha",
"test:modules": "mocha test/modules",
"test:modules:debug": "mocha inspect test/modules",
"test:playwright:http": "http-server -p 3333 -s -c -1",
"test:playwright:build": "cross-env FILE=umd SOURCEMAPS=true BABEL=false NODE_ENV=development rollup -c",
"test:playwright:setup": "run-s test:playwright:build test:playwright:http",
"test:playwright": "playwright test",
"docs": "run-s docs:build docs:js",
"docs:js": "cpy --flat build/cytoscape.min.js documentation/js",
"docs:build": "node documentation/docmaker.mjs",
"docs:push": "gh-pages -d documentation",
"benchmark": "run-s benchmark:all",
"benchmark:download": "download https://raw.githubusercontent.com/cytoscape/cytoscape.js/master/dist/cytoscape.cjs.js --out build --filename cytoscape.benchmark.js",
"benchmark:all:exec": "node benchmark/all",
"benchmark:all": "run-s benchmark:download benchmark:all:exec",
"benchmark:single:exec": "node benchmark/single",
"benchmark:single": "run-s benchmark:download benchmark:single:exec"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@eslint/js": "^9.18.0",
"@playwright/test": "^1.49.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^22.10.7",
"benchmark": "^2.1.4",
"bluebird": "^3.5.0",
"chai": "^5.1.2",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.0",
"download-cli": "^1.0.5",
"eslint": "^9.18.0",
"gh-pages": "^5.0.0",
"gl-matrix": "^3.4.3",
"globals": "^15.14.0",
"handlebars": "^4.7.6",
"heap": "^0.2.7",
"highlight.js": "^10.0.0",
"http-server": "^14.1.1",
"jsonlint": "^1.6.2",
"livereload": "^0.9.1",
"lodash": "^4.17.21",
"marked": "^4.0.10",
"mocha": "^11.1.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.0",
"rollup": "^4.31.0",
"rollup-plugin-license": "^3.5.3"
}
}