-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
96 lines (96 loc) · 3.07 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
{
"name": "@netdata/charts",
"version": "5.4.3",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
"jsnext:main": "dist/es6/index.js",
"repository": "[email protected]:netdata/charts.git",
"author": "Netdata",
"license": "GPL-3.0",
"private": false,
"files": [
"/dist"
],
"scripts": {
"build:cjs": "babel src --out-dir dist --copy-files --ignore **/*.stories.js",
"build:es6": "BABEL_ENV=es6 babel src --out-dir dist/es6 --copy-files --ignore **/*.stories.js",
"build:umd": "NODE_ENV=production webpack",
"build": "yarn build:umd && yarn build:cjs && yarn build:es6",
"test": "jest --config ./jest/config.js",
"lint": "eslint './src/**/*.js'",
"clean": "rimraf lib dist es coverage",
"prepublishOnly": "yarn clean && yarn build",
"cp-cloud": "cp -R ./dist ../cloud-frontend/node_modules/@netdata/charts/",
"to-cloud": "yarn build:cjs && yarn cp-cloud",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"keywords": [
"netdata",
"sdk",
"frontend",
"charts"
],
"peerDependencies": {
"@netdata/netdata-ui": "^4.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^5.3.9"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-modules-umd": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@netdata/netdata-ui": "^4.5.11",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-interactions": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
"@storybook/addon-onboarding": "^8.1.11",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.1.11",
"@storybook/react": "^8.1.11",
"@storybook/react-webpack5": "^8.1.11",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-styled-components": "^2.1.4",
"clean-webpack-plugin": "^4.0.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.3.2",
"raw-loader": "^4.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.7",
"sass-loader": "^14.2.1",
"storybook": "^8.1.11",
"styled-components": "^5.3.9",
"svg-sprite-loader": "^6.0.11",
"svgo-loader": "^4.0.0",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"webpack-plugin": "^1.0.5"
},
"dependencies": {
"@storybook/test": "^8.1.11",
"babel-eslint": "^10.1.0",
"d3": "^7.9.0",
"d3-scale": "^4.0.2",
"dygraphs": "^2.2.1",
"easy-pie-chart": "^2.1.7",
"md5": "^2.3.0",
"throttle-debounce": "^5.0.2",
"uuid": "^10.0.0"
}
}