-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathpackage.json
119 lines (119 loc) · 3.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@redash/viz",
"version": "1.0.0",
"description": "Redash visualizations",
"main": "dist/redash-visualizations.js",
"scripts": {
"clean": "rm -rf lib dist",
"type-check": "tsc --noEmit",
"type-gen": "tsc --emitDeclarationOnly",
"build:babel:base": "babel src --out-dir lib --source-maps --ignore 'src/**/*.test.js' --copy-files --no-copy-ignored --extensions .ts,.tsx,.js,.jsx",
"build:babel": "yarn type-gen && yarn build:babel:base",
"build:webpack": "webpack",
"build": " NODE_ENV=production npm-run-all clean build:babel build:webpack",
"watch:babel": "yarn build:babel:base --watch",
"watch:webpack": "webpack --watch",
"watch": "npm-run-all --parallel watch:*",
"version": "yarn build",
"prettier": "prettier --write 'src/**/*.{ts,tsx}'",
"test": "jest",
"test:watch": "jest --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/getredash/redash.git"
},
"author": "Redash",
"license": "BSD-2-Clause",
"peerDependencies": {
"@ant-design/icons": ">=4.0.0",
"antd": ">=4.0.0",
"react-dom": ">=16.14.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.22.5",
"@types/chroma-js": "^2.1.2",
"@types/d3": "^6.2.0",
"@types/d3-cloud": "^1.2.3",
"@types/debug": "^4.1.5",
"@types/dompurify": "^2.0.4",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.18",
"@types/leaflet": "^1.5.19",
"@types/numeral": "0.0.28",
"@types/plotly.js": "^1.54.22",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/tinycolor2": "^1.4.2",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-module-resolver": "^5.0.0",
"css-loader": "^3.5.2",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-to-json": "^3.3.5",
"jest": "^24.1.0",
"less": "^4.1.3",
"less-loader": "^11.1.3",
"less-plugin-autoprefix": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"prop-types": "^15.7.2",
"style-loader": "^3.3.3",
"ts-migrate": "^0.1.35",
"typescript": "^4.1.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"files": [
"dist",
"lib"
],
"dependencies": {
"axios": "0.28.0",
"axios-auth-refresh": "3.3.6",
"beautifymarker": "^1.0.7",
"chroma-js": "^1.3.6",
"classnames": "^2.2.6",
"d3": "^3.5.17",
"d3-cloud": "^1.2.4",
"debug": "^3.1.0",
"dompurify": "^2.0.7",
"font-awesome": "^4.7.0",
"hoist-non-react-statics": "^3.3.0",
"leaflet": "~1.3.1",
"leaflet-fullscreen": "^1.0.2",
"leaflet.markercluster": "^1.1.0",
"lodash": "^4.17.10",
"numeral": "^2.0.6",
"plotly.js": "1.58.5",
"react-pivottable": "^0.9.0",
"react-sortable-hoc": "^1.10.1",
"tinycolor2": "^1.4.1",
"use-debounce": "^3.4.1",
"use-media": "^1.4.0"
},
"jest": {
"rootDir": "./src",
"setupFiles": [
"../__tests__/enzyme_setup.js",
"../__tests__/mocks.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"^@/(.*)": "<rootDir>/$1",
"\\.(css|less)$": "identity-obj-proxy"
}
},
"browser": {
"fs": false,
"path": false
}
}