-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.9 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.9 KB
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
{
"name": "@netdata/charts",
"version": "6.9.5",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
"jsnext:main": "dist/es6/index.js",
"repository": "git@github.com: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": "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 build:es6 && yarn cp-cloud",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"format": "prettier --write \"**/*.{js,mjs}\""
},
"keywords": [
"netdata",
"sdk",
"frontend",
"charts"
],
"peerDependencies": {
"@netdata/netdata-ui": ">=5.0.1",
"react": ">=18.2.0",
"react-dom": ">=18.2.0",
"styled-components": ">=5.3.9"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@eslint/js": "^10.0.1",
"@netdata/netdata-ui": "^5.3.0",
"@storybook/addon-docs": "^10.2.10",
"@storybook/addon-links": "^10.2.10",
"@storybook/addon-onboarding": "^10.2.10",
"@storybook/addon-webpack5-compiler-babel": "^4.0.0",
"@storybook/react-webpack5": "^10.2.10",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^10.0.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-styled-components": "^2.1.4",
"eslint": "9",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "5",
"eslint-plugin-storybook": "^10.2.10",
"globals": "17",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.2.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^30.2.0",
"prettier": "^3.8.1",
"raw-loader": "^4.0.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rimraf": "^6.1.3",
"sass-loader": "^16.0.7",
"storybook": "^10.2.10",
"styled-components": "^6.3.10",
"svg-sprite-loader": "^6.0.11",
"svgo-loader": "^4.0.0"
},
"dependencies": {
"d3": "^7.9.0",
"d3-scale": "^4.0.2",
"dygraphs": "^2.2.1",
"easy-pie-chart": "^2.1.7",
"html2canvas": "^1.4.1",
"jspdf": "4",
"md5": "^2.3.0",
"throttle-debounce": "^5.0.2",
"uuid": "13"
}
}