forked from danielcaldas/react-d3-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 4.41 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
{
"name": "react-d3-graph",
"version": "1.3.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",
"dev": "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": "webpack --config webpack.config.js -p",
"dist:transpile": "./node_modules/babel-cli/bin/babel.js -d lib src",
"dist": "npm run check && node_modules/.bin/npm-run-all --parallel dist:*",
"docs:lint": "node_modules/documentation/bin/documentation.js lint src/**/*.js",
"docs:watch": "node_modules/documentation/bin/documentation.js build src/**/*.js -f html -o gen-docs --watch",
"docs": "npm run docs:lint && node_modules/documentation/bin/documentation.js build src/**/*.js -f html -o gen-docs && node_modules/documentation/bin/documentation.js build src/**/*.js -f md > gen-docs/DOCUMENTATION.md",
"functional:local": "export CYPRESS_SANDBOX_URL=http://localhost:3002 && cypress open",
"functional:remote": "export CYPRESS_SANDBOX_URL=https://danielcaldas.github.io/react-d3-graph/sandbox/index.html && cypress open",
"functional": "export CYPRESS_SANDBOX_URL=http://127.0.0.1:8888 && cypress run",
"lint:src": "node_modules/eslint/bin/eslint.js --config=.eslintrc.js \"src/**/*.js*\"",
"lint:test": "node_modules/eslint/bin/eslint.js --config=.eslintrc.test.config.js \"test/**/*.test.js\"",
"lint": "npm run lint:src && npm run lint:test",
"precommit": "lint-staged",
"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"
},
"lint-staged": {
"*.{js,jsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"d3": "^4.10.2",
"react": "^15.6.1"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "1.1.3",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-jest": "22.4.3",
"babel-loader": "7.1.2",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-react-html-attrs": "2.0.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-polyfill": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-es2017": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"css-loader": "0.28.7",
"cypress": "2.1.0",
"d3": "^4.10.2",
"documentation": "5.3.2",
"eslint": "4.19.1",
"eslint-config-recommended": "2.0.0",
"eslint-plugin-jest": "21.15.0",
"eslint-plugin-promise": "3.7.0",
"eslint-plugin-react": "7.7.0",
"eslint-plugin-standard": "3.0.1",
"html-webpack-plugin": "2.30.1",
"http-server": "0.11.1",
"husky": "0.14.3",
"jest": "22.4.3",
"lint-staged": "7.0.0",
"npm-run-all": "4.1.1",
"prettier": "1.11.1",
"query-string": "6.1.0",
"react": "^15.6.1",
"react-addons-test-utils": "15.6.0",
"react-dom": "15.6.1",
"react-editable-json-tree": "2.1.0",
"react-jsonschema-form": "0.50.1",
"react-test-renderer": "15.6.1",
"style-loader": "0.18.2",
"webpack": "4.2.0",
"webpack-cli": "2.0.12",
"webpack-dev-server": "3.1.3",
"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"
]
}