@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/package.json CHANGED
@@ -1,99 +1,98 @@
1
- {
2
- "name": "@chartspire/chartspire-chart",
3
- "version": "0.5.0",
4
- "description": "Lightweight k-line chart built with html5 canvas",
5
- "main": "./dist/index.cjs",
6
- "module": "./dist/index.esm.js",
7
- "unpkg": "./dist/umd/klinecharts.min.js",
8
- "types": "./dist/index.d.ts",
9
- "type": "module",
10
- "files": [
11
- "LICENSE_AGPL3",
12
- "LICENSE_APACHE_2.0",
13
- "README.md",
14
- "dist/",
15
- "licenses/",
16
- "NOTICE"
17
- ],
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/chartspire/chartspire-chart.git"
21
- },
22
- "bugs": {
23
- "url": "https://github.com/chartspire/chartspire-chart/issues"
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
- "charting"
37
- ],
38
- "author": "ChartSpire",
39
- "scripts": {
40
- "lint": "eslint src/**/*.ts",
41
- "clean": "node scripts/clean.js",
42
- "build-esm": "node scripts/build-esm.js",
43
- "build-cjs": "cross-env NODE_ENV=production node scripts/build-cjs.js",
44
- "build-umd:dev": "cross-env NODE_ENV=development node scripts/build-umd.js",
45
- "build-umd:prod": "cross-env NODE_ENV=production node scripts/build-umd.js",
46
- "build-umd": "npm run build-umd:dev && npm run build-umd:prod",
47
- "build-core": "npm run build-esm && npm run build-cjs && npm run build-umd",
48
- "build-dts": "dts-bundle-generator --no-banner true --fail-on-class true --umd-module-name klinecharts -o dist/index.d.ts src/index.ts",
49
- "build": "npm run clean && npm run build-core && npm run build-dts",
50
- "prepare": "husky install",
51
- "docs:dev": "npm run dev --prefix docs",
52
- "docs:build": "npm run build --prefix docs",
53
- "docs:preview": "npm run preview --prefix docs",
54
- "docs:deploy": "npm run docs:build && gh-pages -d website"
55
- },
56
- "engines": {
57
- "node": ">=0.10.0"
58
- },
59
- "publishConfig": {
60
- "access": "restricted"
61
- },
62
- "devDependencies": {
63
- "@babel/standalone": "^7.24.4",
64
- "@rollup/plugin-commonjs": "^25.0.7",
65
- "@rollup/plugin-eslint": "^9.0.5",
66
- "@rollup/plugin-node-resolve": "^15.2.3",
67
- "@rollup/plugin-replace": "^5.0.5",
68
- "@rollup/plugin-terser": "^0.4.4",
69
- "@rollup/plugin-typescript": "^11.1.6",
70
- "@shikijs/vitepress-twoslash": "^1.4.0",
71
- "@stackblitz/sdk": "^1.9.0",
72
- "@types/node": "^20.12.7",
73
- "chalk": "^5.3.0",
74
- "codesandbox": "^0.0.0",
75
- "cross-env": "^7.0.3",
76
- "dts-bundle-generator": "^9.5.1",
77
- "eslint": "^8.57.0",
78
- "eslint-config-love": "^47.0.0",
79
- "eslint-plugin-import": "^2.29.1",
80
- "eslint-plugin-n": "^16.6.2",
81
- "eslint-plugin-promise": "^6.1.1",
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.16.4",
87
- "rollup-plugin-filesize": "^10.0.0",
88
- "rollup-plugin-progress": "^1.1.2",
89
- "tslib": "^2.6.2",
90
- "typescript": "^5.2.2",
91
- "vitepress": "^1.1.4"
92
- },
93
- "homepage": "https://github.com/asfand987/KLinePackage#readme",
94
- "directories": {
95
- "doc": "docs",
96
- "test": "tests"
97
- },
98
- "license": "AGPL-3.0"
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,7 +0,0 @@
1
- Licensed under Proprietary or Apache 2.0
2
-
3
- THIS PROGRAM IS LICENSED UNDER PROPRIETARY LICENSE OR APACHE 2.0 LICENSE
4
- WHERE APPLICABLE, IT WILL BE CLEARLY MARKED IN EACH FILE.
5
-
6
- 1. PROPRIETARY License
7
- 2. Apache 2.0 License
@@ -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.