forked from kedro-org/kedro-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.91 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
{
"name": "@quantumblack/kedro-viz",
"version": "3.7.0",
"main": "lib/components/app/index.js",
"files": [
"lib"
],
"homepage": ".",
"scripts": {
"build": "npm run build:css && react-scripts build",
"build:css": "node-sass src/ -o src/",
"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",
"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",
"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": "export NODE_OPTIONS=--max-old-space-size=8192 && snyk protect",
"snyk-test": "snyk test -prune-repeated-subdependencies"
},
"dependencies": {
"@quantumblack/kedro-ui": "^1.1.2",
"batching-toposort": "^1.2.0",
"classnames": "^2.2.6",
"d3-fetch": "^1.2.0",
"d3-interpolate": "^1.4.0",
"d3-interpolate-path": "^2.2.1",
"d3-scale": "^3.2.1",
"d3-selection": "^1.4.2",
"d3-shape": "^1.3.7",
"d3-transition": "^1.3.2",
"d3-zoom": "^1.7.3",
"dagre": "git+https://github.com/richardwestenra/dagre.git#manual-ranking",
"deepmerge": "^4.2.2",
"fetch-mock": "^9.10.7",
"kiwi.js": "^1.1.2",
"konami-code": "^0.2.1",
"react-custom-scrollbars": "^4.2.1",
"react-redux": "^6.0.1",
"react-test-renderer": "^16.13.1",
"redux": "^4.0.5",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.3.0",
"redux-watch": "^1.1.1",
"reselect": "^4.0.0",
"seedrandom": "^3.0.5",
"snyk": "^1.369.2",
"svg-crowbar": "^0.6.0",
"what-input": "^5.2.10"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.2",
"@testing-library/user-event": "^12.1.3",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"node-sass": "^4.13.1",
"npm-run-all": "^4.1.5",
"prettier": "1.17.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "^3.4.1",
"stylelint": "^13.0.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-order": "^4.0.0",
"stylelint-prettier": "^1.1.2",
"webpack-cli": "^3.3.12",
"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
}