-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
66 lines (66 loc) · 2.21 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
{
"name": "react-cytoscapejs",
"version": "2.0.0",
"description": "React-based network visualization component, using Cytoscape",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/plotly/react-cytoscapejs.git"
},
"bugs": {
"url": "https://github.com/plotly/react-cytoscapejs/issues"
},
"amdName": "ReactCytoscape",
"exports": "./dist/react-cytoscape.modern.js",
"main": "dist/react-cytoscape.cjs.js",
"module": "dist/react-cytoscape.module.js",
"source": "src/index.js",
"umd:main": "dist/react-cytoscape.umd.js",
"unpkg": "dist/react-cytoscape.umd.js",
"homepage": "https://github.com/plotly/react-cytoscapejs",
"scripts": {
"prepare": "run-s build build:docgen",
"build": "microbundle --globals=react=React,cytoscape=cytoscape,prop-types=PropTypes",
"build:docgen": "react-docgen src/component.js --pretty -o dist/react-cytoscape.docgen.json",
"clean": "rimraf dist/*",
"test:eslint": "eslint src/**",
"test:eslint:fix": "eslint --fix src/**",
"test:prettier": "prettier --list-different src/**",
"test:prettier:fix": "prettier --write src/**",
"test:mocha": "run-s build test:mocha:run",
"test:mocha:run": "mocha-chrome test/index.html --chrome-launcher.connectionPollInterval=2000 --chrome-launcher.maxConnectionRetries=300",
"test": "run-s test:*",
"watch": "microbundle watch --globals=react=React,cytoscape=cytoscape,prop-types=PropTypes",
"start": "run-s watch"
},
"peerDependencies": {
"cytoscape": "^3.2.19",
"react": ">=15.0.0"
},
"devDependencies": {
"chai": "^4.3.6",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.1",
"immutable": "^3.8.2",
"microbundle": "^0.15.1",
"mocha": "^10.0.0",
"mocha-chrome": "^2.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react": "^16.4.1",
"react-docgen": "^5.4.3",
"react-dom": "^16.4.1",
"rimraf": "^3.0.2"
},
"dependencies": {
"prop-types": "^15.8.1"
},
"prettier": {
"singleQuote": true
}
}