@chartspire/chartspire-chart 0.5.0 → 10.0.0-alpha2
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/{licenses/LICENSE_APACHE_2.0 → LICENSE} +201 -201
- package/NOTICE +5 -17
- package/README.md +14 -132
- package/README.zh-CN.md +114 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.ts +1195 -0
- package/dist/index.esm.js +14351 -0
- package/dist/umd/klinecharts.js +14375 -0
- package/dist/umd/klinecharts.js.map +1 -0
- package/dist/umd/klinecharts.min.js +7 -0
- package/{LICENSE_APACHE_2.0 → licenses/LICENSE-lightweight-charts} +202 -201
- package/{LICENSE_AGPL3 → licenses/LICENSE_AGPL3} +662 -662
- package/package.json +98 -99
- package/CHANGELOG.md +0 -17
- package/licenses/LICENSE +0 -7
- package/licenses/LICENSE_PROPRIETARY +0 -51
package/package.json
CHANGED
|
@@ -1,99 +1,98 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@chartspire/chartspire-chart",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Lightweight k-line chart built with html5 canvas",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"files": [
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"keywords": [
|
|
26
|
-
"k-line",
|
|
27
|
-
"time-line",
|
|
28
|
-
"candlestick",
|
|
29
|
-
"indicator",
|
|
30
|
-
"finance",
|
|
31
|
-
"klinechart",
|
|
32
|
-
"stockchart",
|
|
33
|
-
"stock",
|
|
34
|
-
"chart",
|
|
35
|
-
"canvas"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"build-
|
|
45
|
-
"build-
|
|
46
|
-
"build-umd": "
|
|
47
|
-
"build-
|
|
48
|
-
"build-
|
|
49
|
-
"build": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"docs:
|
|
54
|
-
"docs:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"devDependencies": {
|
|
63
|
-
"@babel/standalone": "^7.24.4",
|
|
64
|
-
"@
|
|
65
|
-
"@rollup/plugin-eslint": "^9.0.5",
|
|
66
|
-
"@rollup/plugin-
|
|
67
|
-
"@rollup/plugin-
|
|
68
|
-
"@rollup/plugin-
|
|
69
|
-
"@rollup/plugin-
|
|
70
|
-
"@
|
|
71
|
-
"@stackblitz/sdk": "^1.9.0",
|
|
72
|
-
"@types/node": "^20.12.7",
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"eslint
|
|
79
|
-
"eslint-
|
|
80
|
-
"eslint-
|
|
81
|
-
"eslint-plugin-
|
|
82
|
-
"fs-extra": "^11.2.0",
|
|
83
|
-
"gh-pages": "^6.1.1",
|
|
84
|
-
"husky": "^8.0.3",
|
|
85
|
-
"resize-observer-polyfill": "^1.5.1",
|
|
86
|
-
"rollup": "^4.
|
|
87
|
-
"rollup-plugin-filesize": "^10.0.0",
|
|
88
|
-
"
|
|
89
|
-
"tslib": "^2.6.2",
|
|
90
|
-
"typescript": "^5.
|
|
91
|
-
"vitepress": "^1.
|
|
92
|
-
},
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@chartspire/chartspire-chart",
|
|
3
|
+
"version": "10.0.0-alpha2",
|
|
4
|
+
"description": "Lightweight k-line chart built with html5 canvas",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.esm.js",
|
|
8
|
+
"unpkg": "./dist/umd/klinecharts.min.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"README.md",
|
|
13
|
+
"dist/",
|
|
14
|
+
"licenses/",
|
|
15
|
+
"NOTICE"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/klinecharts/KLineChart"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/klinecharts/KLineChart/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://klinecharts.com/",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"k-line",
|
|
27
|
+
"time-line",
|
|
28
|
+
"candlestick",
|
|
29
|
+
"indicator",
|
|
30
|
+
"finance",
|
|
31
|
+
"klinechart",
|
|
32
|
+
"stockchart",
|
|
33
|
+
"stock",
|
|
34
|
+
"chart",
|
|
35
|
+
"canvas"
|
|
36
|
+
],
|
|
37
|
+
"author": "liihuu",
|
|
38
|
+
"license": "Apache-2.0",
|
|
39
|
+
"private": false,
|
|
40
|
+
"scripts": {
|
|
41
|
+
"preinstall": "npx only-allow pnpm",
|
|
42
|
+
"lint": "eslint src/**/*.ts",
|
|
43
|
+
"clean": "node scripts/clean.js",
|
|
44
|
+
"build-esm": "node scripts/build-esm.js",
|
|
45
|
+
"build-cjs": "cross-env NODE_ENV=production node scripts/build-cjs.js",
|
|
46
|
+
"build-umd:dev": "cross-env NODE_ENV=development node scripts/build-umd.js",
|
|
47
|
+
"build-umd:prod": "cross-env NODE_ENV=production node scripts/build-umd.js",
|
|
48
|
+
"build-umd": "pnpm build-umd:dev && pnpm build-umd:prod",
|
|
49
|
+
"build-core": "pnpm build-esm && pnpm build-cjs && pnpm build-umd",
|
|
50
|
+
"build-dts": "dts-bundle-generator --no-banner true --fail-on-class true --umd-module-name klinecharts -o dist/index.d.ts src/index.ts",
|
|
51
|
+
"build": "pnpm clean && pnpm build-core && pnpm build-dts",
|
|
52
|
+
"prepare": "husky install",
|
|
53
|
+
"docs:dev": "pnpm -F=docs dev",
|
|
54
|
+
"docs:build": "pnpm -F=docs build",
|
|
55
|
+
"docs:preview": "pnpm -F=docs preview",
|
|
56
|
+
"docs:deploy": "pnpm build-umd:prod && pnpm docs:build && gh-pages -d website"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=0.10.0"
|
|
60
|
+
},
|
|
61
|
+
"packageManager": "pnpm@9.12.3",
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@babel/standalone": "^7.24.4",
|
|
64
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
65
|
+
"@rollup/plugin-eslint": "^9.0.5",
|
|
66
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
67
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
68
|
+
"@rollup/plugin-replace": "^5.0.5",
|
|
69
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
70
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
71
|
+
"@stackblitz/sdk": "^1.9.0",
|
|
72
|
+
"@types/node": "^20.12.7",
|
|
73
|
+
"@vueuse/core": "^11.1.0",
|
|
74
|
+
"chalk": "^5.3.0",
|
|
75
|
+
"codesandbox": "^2.2.3",
|
|
76
|
+
"cross-env": "^7.0.3",
|
|
77
|
+
"dts-bundle-generator": "^9.5.1",
|
|
78
|
+
"eslint": "^9.17.0",
|
|
79
|
+
"eslint-config-love": "^112.0.0",
|
|
80
|
+
"eslint-config-standard": "^17.1.0",
|
|
81
|
+
"eslint-plugin-file-progress": "^1.5.0",
|
|
82
|
+
"fs-extra": "^11.2.0",
|
|
83
|
+
"gh-pages": "^6.1.1",
|
|
84
|
+
"husky": "^8.0.3",
|
|
85
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
86
|
+
"rollup": "^4.21.3",
|
|
87
|
+
"rollup-plugin-filesize": "^10.0.0",
|
|
88
|
+
"shiki": "^1.22.1",
|
|
89
|
+
"tslib": "^2.6.2",
|
|
90
|
+
"typescript": "^5.5.4",
|
|
91
|
+
"vitepress": "^1.5.0"
|
|
92
|
+
},
|
|
93
|
+
"pnpm": {
|
|
94
|
+
"overrides": {
|
|
95
|
+
"@rollup/plugin-eslint>eslint": "$eslint"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## Unreleased
|
|
9
|
-
|
|
10
|
-
## 0.5.0 - 2024-12-07
|
|
11
|
-
### Added
|
|
12
|
-
- Auto charts - Wedges, Head & Shoulders pattern and Inv Head & Shoulsers
|
|
13
|
-
- New indicators - Candle volume & SuperTrend
|
|
14
|
-
- UI enhancements
|
|
15
|
-
- Bug fixes
|
|
16
|
-
- Other under the hood improvements
|
|
17
|
-
- Performance improvements
|
package/licenses/LICENSE
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
PROPRIETARY License
|
|
2
|
-
@Copyright Asfand khan
|
|
3
|
-
January 2024
|
|
4
|
-
|
|
5
|
-
ANY NEW FILES CREATED WILL BE LICENSED UNDER THE FOLLOWING LICENSE NOT
|
|
6
|
-
LICENSED UNDER APACHE 2.0
|
|
7
|
-
|
|
8
|
-
1.
|
|
9
|
-
This Program forms part of a Software Product. All and any copyright,
|
|
10
|
-
trademark or other intellectual property rights used or embodied in or
|
|
11
|
-
in connection with this Program and the Software Product and including
|
|
12
|
-
all documentation relating thereto is and shall remain the exclusive
|
|
13
|
-
property of Asfand Khan. Except as may be expressly permitted
|
|
14
|
-
under the UK Copyright, Designs and Patents Act 1988 as amended by the
|
|
15
|
-
UK Copyright (Computer Programs) Regulations 1992 or any other
|
|
16
|
-
relevant national law or as may be expressly permitted in a properly
|
|
17
|
-
executed licence agreement between Asfand Khan and you, you
|
|
18
|
-
shall have no rights to (and shall not attempt to nor allow any third
|
|
19
|
-
party to or attempt to) adapt, alter, amend, modify, reverse engineer,
|
|
20
|
-
decompile, disassemble or decode the whole on any part of the program
|
|
21
|
-
or Software Product or translate the whole or any part of the Program
|
|
22
|
-
or Software Product into another language nor shall you create
|
|
23
|
-
derivative works of the Program or Software Product.
|
|
24
|
-
|
|
25
|
-
ANY MODIFIED FILES WILL BE LICENSED UNDER THE FOLLOWING LICENSE NOT
|
|
26
|
-
LICENSED UNDER APACHE 2.0
|
|
27
|
-
|
|
28
|
-
2.
|
|
29
|
-
Modifications copyright (C) 2024 Asfand Khan | Proprietary license
|
|
30
|
-
This file has been modified and the modified code is released under
|
|
31
|
-
the following proprietary license:
|
|
32
|
-
|
|
33
|
-
This File forms part of a Software Product and has been modified.
|
|
34
|
-
All and any copyright, trademark or other intellectual property rights
|
|
35
|
-
used or embodied in or in connection with this Program and the Software
|
|
36
|
-
Product and including all documentation relating thereto is and shall
|
|
37
|
-
remain the exclusive property of Asfand Khan. This applies to newly
|
|
38
|
-
created files not previously licensed under Apache 2.0.
|
|
39
|
-
It does not apply to code licensed under the Apache 2.0 License.
|
|
40
|
-
It does apply to the modifications of any existing files licensed
|
|
41
|
-
under Apache 2.0. Except as may be expressly permitted under the UK
|
|
42
|
-
Copyright, Designs and Patents Act 1988 as amended by the
|
|
43
|
-
UK Copyright (Computer Programs) Regulations 1992 or any other
|
|
44
|
-
relevant national law or as may be expressly permitted in a properly
|
|
45
|
-
executed licence agreement between Asfand Khan and you, you
|
|
46
|
-
shall have no rights to (and shall not attempt to nor allow any third
|
|
47
|
-
party to or attempt to) adapt, alter, amend, modify, reverse engineer,
|
|
48
|
-
decompile, disassemble or decode the whole on any part of the program
|
|
49
|
-
or Software Product or translate the whole or any part of the Program
|
|
50
|
-
or Software Product into another language nor shall you create
|
|
51
|
-
derivative works of the Program or Software Product.
|