@ethersphere/bee-dashboard 0.10.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.10.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
  },
@@ -39,9 +41,9 @@
39
41
  "notistack": "1.0.10",
40
42
  "opener": "1.5.2",
41
43
  "qrcode.react": "1.0.1",
42
- "react": "17.0.2",
44
+ "react": ">= 17.0.2",
43
45
  "react-copy-to-clipboard": "5.0.4",
44
- "react-dom": "17.0.2",
46
+ "react-dom": ">= 17.0.2",
45
47
  "react-feather": "2.0.9",
46
48
  "react-identicons": "1.2.5",
47
49
  "react-router": "5.2.0",
@@ -51,10 +53,16 @@
51
53
  "serve-handler": "6.1.3"
52
54
  },
53
55
  "devDependencies": {
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",
54
62
  "@commitlint/config-conventional": "14.1.0",
55
63
  "@testing-library/jest-dom": "5.15.0",
56
64
  "@testing-library/react": "12.1.2",
57
- "@types/file-saver": "^2.0.4",
65
+ "@types/file-saver": "2.0.4",
58
66
  "@types/jest": "27.0.2",
59
67
  "@types/qrcode.react": "1.0.2",
60
68
  "@types/react": "17.0.34",
@@ -67,6 +75,9 @@
67
75
  "@typescript-eslint/eslint-plugin": "4.33.0",
68
76
  "@typescript-eslint/parser": "4.33.0",
69
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",
70
81
  "depcheck": "1.4.2",
71
82
  "eslint": "7.24.0",
72
83
  "eslint-config-prettier": "8.2.0",
@@ -79,20 +90,31 @@
79
90
  "eslint-plugin-react": "7.23.2",
80
91
  "eslint-plugin-react-hooks": "4.2.0",
81
92
  "eslint-plugin-testing-library": "3.10.2",
93
+ "file-loader": "6.2.0",
82
94
  "prettier": "2.4.1",
83
95
  "react-scripts": "4.0.3",
96
+ "ts-node": "^10.4.0",
84
97
  "typescript": "4.4.4",
85
- "web-vitals": "2.1.2"
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"
86
105
  },
87
106
  "scripts": {
88
107
  "prepare": "npm run build",
89
108
  "start": "react-scripts start",
90
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",
91
112
  "test": "react-scripts test",
92
113
  "serve": "node ./serve.js",
93
114
  "depcheck": "depcheck .",
94
115
  "lint": "eslint --fix \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
95
- "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"
96
118
  },
97
119
  "files": [
98
120
  "build",
package/serve.js CHANGED
File without changes