-
Notifications
You must be signed in to change notification settings - Fork 113
/
package.json
175 lines (175 loc) · 5.77 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "@quantumblack/kedro-viz",
"version": "10.1.0",
"description": "Kedro-Viz is an interactive development tool for building data science pipelines with Kedro.",
"main": "lib/components/app/index.js",
"files": [
"lib"
],
"homepage": ".",
"repository": {
"type": "git",
"url": "https://github.com/kedro-org/kedro-viz.git"
},
"proxy": "http://localhost:4142/",
"scripts": {
"build": "cross-env GENERATE_SOURCEMAP=false react-scripts build && cp ./build/index.html ./build/404.html",
"postbuild": "rm -rf build/api",
"start": "REACT_APP_DATA_SOURCE=$DATA NODE_OPTIONS=\"--dns-result-order=ipv4first\" npm-run-all -p start:app start:lib",
"start:dev": "rm -rf node_modules/.cache && npm start",
"start:app": "PORT=4141 react-scripts start",
"start:lib": "rm -rf lib && babel src --out-dir lib --copy-files --watch",
"lib": "npm-run-all -s lib:clean lib:copy lib:webpack lib:babel lib:prune",
"lib:clean": "rm -rf lib",
"lib:copy": "cp -rf src lib",
"lib:webpack": "webpack --config webpack.lib.js",
"lib:babel": "BABEL_ENV=lib babel lib --out-dir lib",
"lib:prune": "find lib -type f -name '*.test.*' -delete && find lib -type f -name '*.scss' -delete && find lib/components -type f -name '*.css' -delete && find lib/styles -type f -name '*.js' -delete",
"lib-test": "npm-run-all -s lib lib-test:setup lib-test:serve",
"lib-test:setup": "node ./tools/test-lib/setup.js",
"lib-test:serve": "node ./tools/test-lib/serve.js",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"lint": "npm-run-all -p lint:js lint:scss",
"lint:js": "eslint src/ --fix",
"lint:scss": "stylelint 'src/**/*.scss' --fix",
"prepublishOnly": "npm-run-all -s test:ci lint build lib",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm test -- --coverage --watchAll=false",
"test:ci": "npm test -- --watchAll=false --maxWorkers=2",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
"cy:dev": "cypress open",
"cy:test": "./cypress/support/cy.start.sh local",
"cy:ci": "./cypress/support/cy.start.sh ci",
"eject": "react-scripts eject",
"snyk-protect": "snyk protect",
"snyk-test": "snyk test -prune-repeated-subdependencies"
},
"dependencies": {
"@apollo/client": "^3.5.6",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@graphql-tools/schema": "7.1.5",
"@mui/icons-material": "^5.11.9",
"@mui/material": "^5.11.10",
"@mui/system": "^5.14.18",
"@mui/x-tree-view": "^6.17.0",
"batching-toposort": "^1.2.0",
"classnames": "^2.3.1",
"d3": "^7.6.1",
"d3-fetch": "^2.0.0",
"d3-interpolate": "^2.0.1",
"d3-interpolate-path": "^2.2.3",
"d3-scale": "^3.3.0",
"d3-selection": "^2.0.0",
"d3-shape": "^2.1.0",
"d3-transition": "^2.0.0",
"d3-zoom": "^2.0.0",
"dayjs": "^1.10.7",
"deepmerge": "^4.2.2",
"fetch-mock": "^9.11.0",
"fishery": "^1.4.0",
"graphql": "^15.8.0",
"graphql-type-json": "^0.3.2",
"highlight.js": "^10.7.3",
"kiwi.js": "^1.1.3",
"lodash": "^4.17.21",
"plotly.js-dist-min": "^2.26.0",
"react-content-loader": "^6.2.0",
"react-csv": "^2.2.2",
"react-custom-scrollbars-2": "^4.5.0",
"react-json-view": "^1.21.3",
"react-plotly.js": "^2.5.1",
"react-redux": "^8.1.3",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"redux": "^4.1.2",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.4.1",
"redux-watch": "^1.2.0",
"reselect": "^4.1.5",
"seedrandom": "^3.0.5",
"sinon": "^12.0.1",
"svg-crowbar": "^0.6.5",
"uuid": "^9.0.0",
"what-input": "^5.2.10"
},
"overrides": {
"react-json-view": {
"react": "$react",
"react-dom": "$react-dom",
"react-json-view": "^1.21.3"
}
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@cfaester/enzyme-adapter-react-18": "^0.7.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"babel-plugin-transform-remove-imports": "^1.7.0",
"canvas": "^2.7.0",
"cross-env": "7.0.3",
"css-loader": "^6.4.0",
"cypress": "^13.3.0",
"enzyme": "^3.11.0",
"eslint-plugin-cypress": "^2.13.3",
"graphqlviz": "^4.0.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.6.2",
"npm-run-all": "^4.1.5",
"postcss-loader": "^8.1.1",
"prettier": "^2.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-overlay": "^6.0.9",
"react-scripts": "^5.0.1",
"sass": "^1.54.4",
"sass-loader": "^14.1.1",
"snyk": "^1.639.0",
"stylelint": "^15.10.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^1.2.0",
"webpack-cli": "^4.7.2",
"workerize-loader": "^2.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:ci"
}
},
"lint-staged": {
"src/**/*.scss": [
"stylelint --fix"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write"
],
"src/**/*.{js,jsx,ts,tsx}": [
"eslint src/ --fix"
]
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!d3|d3-array|internmap|delaunator|robust-predicates)"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"snyk": true
}