forked from kedro-org/kedro-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 4.27 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
{
"name": "@quantumblack/kedro-viz",
"version": "3.14.0",
"main": "lib/components/app/index.js",
"files": [
"lib"
],
"homepage": ".",
"proxy": "http://localhost:4142/",
"scripts": {
"build": "npm run build:css && react-scripts build",
"build:css": "node-sass src/ -o src/",
"postbuild": "rm -rf build/api",
"start": "REACT_APP_DATA_SOURCE=$DATA npm-run-all -p start:css start:app start:lib",
"start:app": "PORT=4141 react-scripts start",
"start:css": "npm run build:css && node-sass src/ -o src/ --watch --recursive",
"start:lib": "rm -rf lib && babel src --out-dir lib --copy-files --watch",
"start:api": "python package/kedro_viz/server.py \"$npm_config_project_path\"",
"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 lib --out-dir lib",
"lib:prune": "find lib -type f -name '*.test.*' -delete && find lib -type f -name '*.scss' -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 --single-quote --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",
"eject": "react-scripts eject",
"snyk-protect": "snyk protect",
"snyk-test": "snyk test -prune-repeated-subdependencies"
},
"dependencies": {
"@quantumblack/kedro-ui": "1.1.7",
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.58",
"batching-toposort": "^1.2.0",
"classnames": "^2.3.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",
"deepmerge": "^4.2.2",
"fetch-mock": "^9.11.0",
"highlight.js": "^10.7.3",
"kiwi.js": "^1.1.2",
"lodash.clonedeep": "^4.5.0",
"plotly.js-cartesian-dist": "^1.58.4",
"react-custom-scrollbars": "^4.2.1",
"react-json-view": "^1.21.3",
"react-plotly.js": "^2.5.1",
"react-redux": "^7.2.4",
"react-test-renderer": "^17.0.2",
"redux": "^4.1.0",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.3.0",
"redux-watch": "^1.2.0",
"reselect": "^4.0.0",
"seedrandom": "^3.0.5",
"svg-crowbar": "^0.6.5",
"what-input": "^5.2.10"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"canvas": "^2.7.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-scripts": "^4.0.3",
"snyk": "^1.639.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.2.0",
"webpack-cli": "^4.7.2",
"workerize-loader": "^1.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.scss": [
"stylelint --fix",
"git add"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write",
"git add"
],
"src/**/*.{js,jsx,ts,tsx}": [
"eslint src/ --fix",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"snyk": true
}