binbot-charts 0.7.1 → 0.7.3
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 +22 -5
- package/public/charting_library/yarn.lock +4 -0
- package/babel.config.json +0 -13
- package/browserslist +0 -31
- package/package-lock.json +0 -18327
- package/src/App.css +0 -26
- package/src/App.tsx +0 -89
- package/src/charting-library-interfaces.d.ts +0 -36
- package/src/datafeed.ts +0 -289
- package/src/helpers.ts +0 -53
- package/src/index.css +0 -5
- package/src/index.tsx +0 -10
- package/src/main.tsx +0 -151
- package/src/streaming.ts +0 -124
- package/tsconfig.json +0 -97
- package/tsup.config.ts +0 -10
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.7.
|
|
2
|
+
"version": "0.7.3",
|
|
3
3
|
"name": "binbot-charts",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"react": "^18.3.1",
|
|
6
|
-
"react-dom": "^18.3.1",
|
|
7
5
|
"use-immer": "^0.10.0"
|
|
8
6
|
},
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"react": ">=18",
|
|
9
|
+
"react-dom": ">=18"
|
|
10
|
+
},
|
|
9
11
|
"devDependencies": {
|
|
10
12
|
"@babel/cli": "^7.18.10",
|
|
11
13
|
"@babel/core": "^7.18.13",
|
|
@@ -22,15 +24,30 @@
|
|
|
22
24
|
"scripts": {
|
|
23
25
|
"start": "react-scripts start",
|
|
24
26
|
"build": "rm -rf dist && tsup --config tsup.config.ts --env.NODE_ENV production",
|
|
25
|
-
"release": "
|
|
27
|
+
"release": "npm run build && npm run publish"
|
|
26
28
|
},
|
|
27
29
|
"description": "Binbot charts is the default candlestick bars chart used in terminal.binbot.in to render bots graphically.",
|
|
28
30
|
"repository": {
|
|
29
31
|
"type": "git",
|
|
30
32
|
"url": "git+https://github.com/carkod/binbot-charts.git"
|
|
31
33
|
},
|
|
32
|
-
"
|
|
34
|
+
"main": "./dist/main.js",
|
|
35
|
+
"module": "./dist/main.mjs",
|
|
33
36
|
"types": "./dist/main.d.ts",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/main.d.ts",
|
|
40
|
+
"import": "./dist/main.mjs",
|
|
41
|
+
"require": "./dist/main.js",
|
|
42
|
+
"default": "./dist/main.mjs"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist",
|
|
47
|
+
"public",
|
|
48
|
+
"README.md",
|
|
49
|
+
"LICENSE"
|
|
50
|
+
],
|
|
34
51
|
"keywords": [
|
|
35
52
|
"binbot",
|
|
36
53
|
"charts"
|
package/babel.config.json
DELETED
package/browserslist
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# This is an rcfile for Browserslist (https://www.npmjs.com/package/browserslist)
|
|
2
|
-
|
|
3
|
-
# All browsers with significant market share
|
|
4
|
-
> 1% in US
|
|
5
|
-
> 1% in RU
|
|
6
|
-
|
|
7
|
-
# Desktop
|
|
8
|
-
last 3 Chrome versions
|
|
9
|
-
last 3 Edge versions
|
|
10
|
-
last 3 Firefox versions
|
|
11
|
-
last 3 Safari versions
|
|
12
|
-
last 3 Opera versions
|
|
13
|
-
|
|
14
|
-
# Mobile
|
|
15
|
-
last 3 iOS versions
|
|
16
|
-
last 3 ChromeAndroid versions
|
|
17
|
-
last 3 Android versions
|
|
18
|
-
last 3 FirefoxAndroid versions
|
|
19
|
-
|
|
20
|
-
# Restrict min supported versions
|
|
21
|
-
not Android < 66
|
|
22
|
-
not Chrome < 66
|
|
23
|
-
not ChromeAndroid < 66
|
|
24
|
-
not Safari < 13
|
|
25
|
-
not iOS < 13
|
|
26
|
-
|
|
27
|
-
# Long dead browsers
|
|
28
|
-
not Explorer <= 11
|
|
29
|
-
not ExplorerMobile <= 11
|
|
30
|
-
not OperaMini all # Opera mini has very limited JS support, no canvas and no websockets
|
|
31
|
-
not OperaMobile <= 12.1 # Opera mobile Presto
|