@rtemis/draw 0.0.0-stage → 0.1.1

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,6 +1,47 @@
1
1
  {
2
2
  "name": "@rtemis/draw",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "ECharts option builders shared by rtemis.draw and rtemislive",
5
+ "homepage": "https://rtemis.org",
6
+ "keywords": ["rtemis", "echarts", "visualization"],
7
+ "license": "BSD-3-Clause",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/rtemis-org/draw",
11
+ "directory": "typescript"
12
+ },
13
+ "type": "module",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "default": "./dist/index.js"
18
+ },
19
+ "./package.json": "./package.json"
20
+ },
21
+ "files": ["dist"],
22
+ "sideEffects": false,
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "scripts": {
27
+ "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
28
+ "build": "pnpm clean && tsc -p tsconfig.build.json && pnpm bundle",
29
+ "bundle": "esbuild src/index.ts --bundle --format=iife --global-name=RtemisDraw --target=es2020 --legal-comments=inline --footer:js=\"if (typeof module === 'object' && module.exports) module.exports = RtemisDraw;\" --outfile=dist/rtemis-draw-builders.cjs",
30
+ "typecheck": "tsc --noEmit -p tsconfig.json",
31
+ "test": "pnpm typecheck && pnpm check && vitest run",
32
+ "check": "biome check src tests",
33
+ "fix": "biome check --write src tests",
34
+ "prepublishOnly": "pnpm test && pnpm build"
35
+ },
36
+ "peerDependencies": {
37
+ "@rtemis/a3": ">=0.3.2"
38
+ },
39
+ "devDependencies": {
40
+ "@biomejs/biome": "^2.5.7",
41
+ "@rtemis/a3": "^0.3.2",
42
+ "@types/node": "^25.9.5",
43
+ "esbuild": "^0.25.0",
44
+ "typescript": "^6.0.3",
45
+ "vitest": "^4.1.10"
46
+ }
47
+ }