chartforge 0.0.3 → 0.1.0
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/LICENSE +21 -0
- package/README.md +272 -0
- package/cli/dist/AxisPlugin-Cge0pH5P.cjs +135 -0
- package/cli/dist/BasePlugin-DcBTEJBs.cjs +13 -0
- package/cli/dist/ChartForge-BMKdVldJ.cjs +1108 -0
- package/cli/dist/GridPlugin-C90wMQsN.cjs +69 -0
- package/cli/dist/builtins-5HYzyd_B.cjs +44 -0
- package/cli/dist/chartforge.cjs +3 -0
- package/cli/dist/index-BtGYSrj-.cjs +240 -0
- package/cli/dist/misc-tOf-LXeZ.cjs +52 -0
- package/cli/dist/png-By3-3Jat.cjs +61 -0
- package/cli/dist/render-OAxwCzdV.cjs +94 -0
- package/cli/dist/serve-74PsUgLE.cjs +58 -0
- package/cli/dist/watch-Dv_eG4Wh.cjs +34 -0
- package/cli/dist/writer-CRUdthqh.cjs +697 -0
- package/package.json +88 -68
package/package.json
CHANGED
|
@@ -1,68 +1,88 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "chartforge",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "Production-grade pluggable SVG charting library — zero dependencies",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/chartforge.umd.cjs",
|
|
7
|
-
"module": "./dist/chartforge.js",
|
|
8
|
-
"types": "./dist/types/index.d.ts",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "chartforge",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Production-grade pluggable SVG charting library — zero dependencies",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/chartforge.umd.cjs",
|
|
7
|
+
"module": "./dist/chartforge.js",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"chartforge": "./cli/dist/chartforge.cjs"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/chartforge.js",
|
|
15
|
+
"require": "./dist/chartforge.umd.cjs",
|
|
16
|
+
"types": "./dist/types/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./plugins": {
|
|
19
|
+
"import": "./dist/plugins.js",
|
|
20
|
+
"require": "./dist/plugins.umd.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./themes": {
|
|
23
|
+
"import": "./dist/themes.js",
|
|
24
|
+
"require": "./dist/themes.umd.cjs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"cli/dist",
|
|
30
|
+
"README.md"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "vite serve demo --config vite.config.ts",
|
|
34
|
+
"build:lib:dev": "",
|
|
35
|
+
"build": "vite build --config vite.config.ts && tsc --emitDeclarationOnly --declarationDir dist/types",
|
|
36
|
+
"build:lib": "vite build --config vite.lib.config.ts && npm run build:lib:umd",
|
|
37
|
+
"build:cli": "vite build --config vite.cli.config.ts",
|
|
38
|
+
"build:lib:umd": "cross-env UMD_ENTRY=chartforge vite build --config vite.lib.umd.config.ts && cross-env UMD_ENTRY=plugins vite build --config vite.lib.umd.config.ts && cross-env UMD_ENTRY=themes vite build --config vite.lib.umd.config.ts",
|
|
39
|
+
"preview": "vite preview demo",
|
|
40
|
+
"cli": "node cli/dist/chartforge.cjs",
|
|
41
|
+
"cli:dev": "tsx cli/src/index.ts",
|
|
42
|
+
"typecheck": "tsc --noEmit && tsc -p cli/tsconfig.json --noEmit",
|
|
43
|
+
"lint": "eslint src cli/src --ext .ts"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"jsdom": "^24.0.0"
|
|
47
|
+
},
|
|
48
|
+
"optionalDependencies": {
|
|
49
|
+
"sharp": "^0.33.0",
|
|
50
|
+
"@resvg/resvg-js": "^2.6.0",
|
|
51
|
+
"open": "^10.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/jsdom": "^21.0.0",
|
|
55
|
+
"@types/node": "^22.0.0",
|
|
56
|
+
"@vitejs/plugin-legacy": "^5.0.0",
|
|
57
|
+
"cross-env": "^10.1.0",
|
|
58
|
+
"eslint": "^9.0.0",
|
|
59
|
+
"globals": "^15.0.0",
|
|
60
|
+
"terser": "^5.31.0",
|
|
61
|
+
"typescript": "^5.5.0",
|
|
62
|
+
"vite": "^5.4.0",
|
|
63
|
+
"vite-plugin-dts": "^4.0.0",
|
|
64
|
+
"tsx": "^4.0.0"
|
|
65
|
+
},
|
|
66
|
+
"keywords": [
|
|
67
|
+
"chart",
|
|
68
|
+
"charting",
|
|
69
|
+
"visualization",
|
|
70
|
+
"svg",
|
|
71
|
+
"graphs",
|
|
72
|
+
"data-visualization",
|
|
73
|
+
"pluggable",
|
|
74
|
+
"zero-dependencies",
|
|
75
|
+
"real-time",
|
|
76
|
+
"websocket",
|
|
77
|
+
"animation",
|
|
78
|
+
"cli",
|
|
79
|
+
"terminal",
|
|
80
|
+
"sparkline"
|
|
81
|
+
],
|
|
82
|
+
"author": "Anand Pilania <pilaniaanand@gmail.com>",
|
|
83
|
+
"license": "MIT",
|
|
84
|
+
"repository": {
|
|
85
|
+
"type": "git",
|
|
86
|
+
"url": "https://github.com/anandpilania/chartforge"
|
|
87
|
+
}
|
|
88
|
+
}
|