This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
forked from danielcaldas/react-d3-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.72 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
{
"name": "react-d3-graph",
"version": "2.6.0",
"description": "React component to build interactive and configurable graphs with d3 effortlessly",
"author": "Daniel Caldas",
"license": "MIT",
"scripts": {
"check": "npm run docs:lint && npm run lint && npm run test && npm run functional",
"check:light": "npm run lint && npm run test",
"dev": "cross-env NODE_ENV=dev webpack-dev-server --mode=development --content-base sandbox --config webpack.config.js --inline --hot --port 3002",
"dist:rd3g": "rm -rf dist/ && webpack --config webpack.config.dist.js -p --display-modules --optimize-minimize",
"dist:sandbox": "npm run generate:tooltips && webpack --config webpack.config.js -p",
"dist:transpile": "babel -d lib src",
"dist:docs": "documentation --config documentation.yml build src/**/*.js -f html -o gen-docs && documentation build src/**/*.js -f md > gen-docs/DOCUMENTATION.md",
"dist": "npm install && npm run check && npm-run-all --parallel dist:* && npm run wrapup:dist",
"wrapup:dist": "github_changelog_generator --user $GITHUB_USERNAME && mv docs/index.html \"docs/$VERSION_PREV.html\" && mv gen-docs/index.html docs/ && mv gen-docs/DOCUMENTATION.md docs/",
"docs:lint": "documentation lint src/**/*.js",
"docs:watch": "documentation --config documentation.yml build src/**/*.js -f html -o gen-docs --watch",
"functional:local": "cross-env CYPRESS_SANDBOX_URL=\"http://localhost:3002\" cypress open",
"functional:remote": "cross-env CYPRESS_SANDBOX_URL=\"https://danielcaldas.github.io/react-d3-graph/sandbox/index.html\" cypress open",
"functional": "cross-env CYPRESS_SANDBOX_URL=\"http://127.0.0.1:8888\" cypress run",
"generate:tooltips": "jsdoc -X ./src/components/graph/graph.config.js > ./tools/graph-config-jsdoc.json && cd tools && node tooltips-docs-generator.js > ../sandbox/graph-config-tooltips.js",
"lint:fix": "eslint --config=.eslintrc.js --fix \"src/**/*.js*\" \"sandbox/**/*.js*\"",
"lint:src": "eslint --config=.eslintrc.js \"src/**/*.js*\" \"sandbox/**/*.js*\"",
"lint:test": "eslint --config=.eslintrc.test.config.js \"test/**/*.spec.js\"",
"lint": "npm run lint:src && npm run lint:test && npm run docs:lint",
"start": "http-server ./sandbox/ -p 8888 -c-1",
"test:clean": "jest --no-cache --updateSnapshot --verbose --coverage --config jest.config.js",
"test:watch": "jest --verbose --coverage --watchAll --config jest.config.js",
"test": "jest --verbose --coverage --config jest.config.js",
"sandbox": "npm run dist:sandbox && npm run start",
"prettier": "prettier --write test/**/*"
},
"lint-staged": {
"*.{js,jsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"d3": "^5.5.0",
"react": "^16.4.1"
},
"devDependencies": {
"@babel/cli": "7.6.0",
"@babel/core": "7.6.0",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-optional-chaining": "7.6.0",
"@babel/preset-env": "7.6.0",
"@babel/preset-react": "7.0.0",
"@cypress/webpack-preprocessor": "4.1.0",
"babel-loader": "8.0.6",
"cross-env": "5.2.1",
"css-loader": "2.0.2",
"cypress": "3.8.3",
"d3": "^5.5.0",
"documentation": "12.1.2",
"eslint": "6.3.0",
"eslint-config-recommended": "4.0.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-cypress": "2.6.1",
"eslint-plugin-jest": "22.17.0",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.14.3",
"eslint-plugin-standard": "4.0.1",
"html-webpack-plugin": "2.30.1",
"http-server": "^0.12.1",
"husky": "3.0.5",
"jest": "24.9.0",
"jsdoc": "^3.6.3",
"lint-staged": "9.2.5",
"lz-string": "^1.4.4",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"query-string": "6.8.3",
"react": "^16.4.1",
"react-addons-test-utils": "15.6.2",
"react-dom": "^16.4.2",
"react-editable-json-tree": "2.2.1",
"react-jsonschema-form": "1.0.4",
"react-test-renderer": "16.9.0",
"react-toastify": "5.5.0",
"react-tooltip": "3.11.6",
"style-loader": "0.18.2",
"typescript": "3.8.3",
"webpack": "4.41.6",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "3.3.8",
"webpack-dev-server": "^3.1.14",
"webpack-visualizer-plugin": "0.1.11"
},
"engines": {
"node": ">=8.9.0"
},
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/danielcaldas/react-d3-graph.git"
},
"keywords": [
"d3-visualization",
"d3js",
"graphs",
"javascript",
"networks",
"react",
"social-network-analysis",
"social-network-graph",
"visualization"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}