bamtigraph 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 +28 -0
- package/README.md +97 -0
- package/dist/bamtigraph.global.js +3112 -0
- package/dist/index.cjs +3161 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.d.cts +486 -0
- package/dist/index.d.ts +486 -0
- package/dist/index.js +3141 -0
- package/dist/index.js.map +7 -0
- package/package.json +76 -0
- package/src/index.ts +4069 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bamtigraph",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Dependency-free, fixed-pixel time-series graphs for browsers, Node.js and Deno, with a native Go port",
|
|
5
|
+
"license": "BSD-3-Clause",
|
|
6
|
+
"author": "GoSuda",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/index.d.cts",
|
|
19
|
+
"default": "./dist/index.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"./browser": "./dist/bamtigraph.global.js",
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"src",
|
|
28
|
+
"LICENSE",
|
|
29
|
+
"README.md"
|
|
30
|
+
],
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"./dist/bamtigraph.global.js"
|
|
33
|
+
],
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20"
|
|
36
|
+
},
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/gosuda/BamtiGraph.git"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/gosuda/BamtiGraph/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/gosuda/BamtiGraph#readme",
|
|
45
|
+
"keywords": [
|
|
46
|
+
"chart",
|
|
47
|
+
"timeseries",
|
|
48
|
+
"canvas",
|
|
49
|
+
"png",
|
|
50
|
+
"graph",
|
|
51
|
+
"typescript",
|
|
52
|
+
"rrd",
|
|
53
|
+
"go"
|
|
54
|
+
],
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "node tools/build.mjs",
|
|
60
|
+
"check": "tsc --noEmit && deno check --config jsr.json src/index.ts",
|
|
61
|
+
"test": "node --test tests/*.test.cjs",
|
|
62
|
+
"test:types": "tsc --project tsconfig.consumer.json",
|
|
63
|
+
"test:go": "go test ./...",
|
|
64
|
+
"serve": "node tools/serve.cjs",
|
|
65
|
+
"format": "prettier --write src tools/build.mjs package.json jsr.json tsconfig*.json README.md",
|
|
66
|
+
"prepack": "npm run build",
|
|
67
|
+
"verify": "npm run check && npm run build && npm test && npm run test:types && go test ./..."
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"esbuild": "0.28.2",
|
|
71
|
+
"prettier": "3.9.6",
|
|
72
|
+
"rollup": "^4.0.0",
|
|
73
|
+
"rollup-plugin-dts": "6.5.1",
|
|
74
|
+
"typescript": "5.9.3"
|
|
75
|
+
}
|
|
76
|
+
}
|