@ethersphere/bee-dashboard 0.7.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethersphere/bee-dashboard",
3
- "version": "0.7.0",
3
+ "version": "0.11.1",
4
4
  "description": "An app which helps users to setup their Bee node and do actions like cash out cheques",
5
5
  "keywords": [
6
6
  "bee",
@@ -15,6 +15,8 @@
15
15
  "bin": {
16
16
  "bee-dashboard": "./serve.js"
17
17
  },
18
+ "main": "lib/App.js",
19
+ "types": "lib/src/App.d.ts",
18
20
  "bugs": {
19
21
  "url": "https://github.com/ethersphere/bee-dashboard/issues/"
20
22
  },
@@ -24,72 +26,100 @@
24
26
  "url": "https://github.com/ethersphere/bee-dashboard.git"
25
27
  },
26
28
  "dependencies": {
27
- "@ethersphere/bee-js": "1.2.1",
29
+ "@ethersphere/bee-js": "3.0.0",
30
+ "@ethersphere/manifest-js": "^1.0.0",
28
31
  "@material-ui/core": "4.12.3",
29
32
  "@material-ui/icons": "4.11.2",
30
33
  "@material-ui/lab": "4.0.0-alpha.57",
31
- "@types/react-router": "5.1.13",
32
- "@types/react-router-dom": "5.1.7",
33
- "axios": "0.21.1",
34
+ "axios": "0.24.0",
34
35
  "bignumber.js": "9.0.1",
35
- "feather-icons": "4.28.0",
36
- "formik": "2.2.8",
36
+ "file-saver": "^2.0.5",
37
+ "formik": "2.2.9",
37
38
  "formik-material-ui": "3.0.1",
39
+ "jszip": "^3.7.1",
38
40
  "material-ui-dropzone": "3.5.0",
39
- "notistack": "1.0.9",
41
+ "notistack": "1.0.10",
40
42
  "opener": "1.5.2",
41
43
  "qrcode.react": "1.0.1",
42
- "react": "17.0.2",
43
- "react-copy-to-clipboard": "5.0.3",
44
- "react-dom": "17.0.2",
44
+ "react": ">= 17.0.2",
45
+ "react-copy-to-clipboard": "5.0.4",
46
+ "react-dom": ">= 17.0.2",
45
47
  "react-feather": "2.0.9",
46
48
  "react-identicons": "1.2.5",
49
+ "react-router": "5.2.0",
47
50
  "react-router-dom": "5.2.0",
48
- "react-syntax-highlighter": "15.4.3",
49
- "semver": "7.3.2",
51
+ "react-syntax-highlighter": "15.4.4",
52
+ "semver": "7.3.5",
50
53
  "serve-handler": "6.1.3"
51
54
  },
52
55
  "devDependencies": {
53
- "@testing-library/jest-dom": "5.12.0",
54
- "@testing-library/react": "11.2.6",
55
- "@testing-library/user-event": "13.1.5",
56
- "@types/jest": "26.0.22",
57
- "@types/node": "14.14.41",
58
- "@types/qrcode.react": "1.0.1",
59
- "@types/react": "17.0.3",
60
- "@types/react-copy-to-clipboard": "5.0.0",
61
- "@types/react-dom": "17.0.3",
62
- "@types/react-syntax-highlighter": "13.5.0",
63
- "@types/semver": "7.3.6",
64
- "eslint": "7.32.0",
65
- "eslint-config-prettier": "8.3.0",
66
- "eslint-plugin-jest": "24.4.0",
67
- "eslint-plugin-prettier": "3.4.1",
68
- "eslint-plugin-react": "7.24.0",
69
- "prettier": "2.3.2",
56
+ "@babel/core": "7.16.0",
57
+ "@babel/plugin-proposal-class-properties": "7.16.0",
58
+ "@babel/plugin-transform-runtime": "7.16.4",
59
+ "@babel/preset-env": "7.16.4",
60
+ "@babel/preset-react": "7.16.0",
61
+ "@babel/preset-typescript": "7.16.0",
62
+ "@commitlint/config-conventional": "14.1.0",
63
+ "@testing-library/jest-dom": "5.15.0",
64
+ "@testing-library/react": "12.1.2",
65
+ "@types/file-saver": "2.0.4",
66
+ "@types/jest": "27.0.2",
67
+ "@types/qrcode.react": "1.0.2",
68
+ "@types/react": "17.0.34",
69
+ "@types/react-copy-to-clipboard": "5.0.2",
70
+ "@types/react-dom": "17.0.11",
71
+ "@types/react-router": "5.1.17",
72
+ "@types/react-router-dom": "5.3.2",
73
+ "@types/react-syntax-highlighter": "13.5.2",
74
+ "@types/semver": "7.3.9",
75
+ "@typescript-eslint/eslint-plugin": "4.33.0",
76
+ "@typescript-eslint/parser": "4.33.0",
77
+ "babel-eslint": "10.1.0",
78
+ "babel-loader": "8.1.0",
79
+ "babel-plugin-syntax-dynamic-import": "6.18.0",
80
+ "babel-plugin-tsconfig-paths": "1.0.2",
81
+ "depcheck": "1.4.2",
82
+ "eslint": "7.24.0",
83
+ "eslint-config-prettier": "8.2.0",
84
+ "eslint-config-react-app": "6.0.0",
85
+ "eslint-plugin-flowtype": "5.10.0",
86
+ "eslint-plugin-import": "2.25.2",
87
+ "eslint-plugin-jest": "24.3.5",
88
+ "eslint-plugin-jsx-a11y": "6.4.1",
89
+ "eslint-plugin-prettier": "3.4.0",
90
+ "eslint-plugin-react": "7.23.2",
91
+ "eslint-plugin-react-hooks": "4.2.0",
92
+ "eslint-plugin-testing-library": "3.10.2",
93
+ "file-loader": "6.2.0",
94
+ "prettier": "2.4.1",
70
95
  "react-scripts": "4.0.3",
71
- "typescript": "4.2.4",
72
- "web-vitals": "1.1.1"
96
+ "ts-node": "^10.4.0",
97
+ "typescript": "4.4.4",
98
+ "web-vitals": "2.1.2",
99
+ "webpack": "4.44.2",
100
+ "webpack-cli": "^4.9.1"
101
+ },
102
+ "peerDependencies": {
103
+ "react": ">= 17.0.2",
104
+ "react-dom": ">= 17.0.2"
73
105
  },
74
106
  "scripts": {
75
107
  "prepare": "npm run build",
76
108
  "start": "react-scripts start",
77
109
  "build": "react-scripts build",
110
+ "build:component": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' webpack --mode=production",
111
+ "compile:types": "tsc --project tsconfig.lib.json --emitDeclarationOnly --declaration",
78
112
  "test": "react-scripts test",
79
113
  "serve": "node ./serve.js",
114
+ "depcheck": "depcheck .",
80
115
  "lint": "eslint --fix \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
81
- "lint:check": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --check \"src/**/*.ts\" \"src/**/*.tsx\""
116
+ "lint:check": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"",
117
+ "check:types": "tsc --project tsconfig.lib.json"
82
118
  },
83
119
  "files": [
84
120
  "build",
85
121
  "serve.js"
86
122
  ],
87
- "eslintConfig": {
88
- "extends": [
89
- "react-app",
90
- "react-app/jest"
91
- ]
92
- },
93
123
  "browserslist": {
94
124
  "production": [
95
125
  ">0.2%",
package/serve.js CHANGED
File without changes