@tioniq/sceniq 0.0.0-stage → 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/package.json CHANGED
@@ -1,6 +1,144 @@
1
1
  {
2
2
  "name": "@tioniq/sceniq",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "A reactive, retained-mode 2D canvas library: scenes, surfaces, layers and views that redraw on demand when their eventiq variables change, with layout, level of detail, image loading, text and pointer input",
5
+ "author": {
6
+ "email": "timoniann@gmail.com",
7
+ "name": "Tim"
8
+ },
9
+ "homepage": "https://github.com/tioniq/sceniq/blob/main/README.md",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/tioniq/sceniq.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/tioniq/sceniq/issues"
16
+ },
17
+ "license": "MIT",
18
+ "type": "module",
19
+ "types": "./dist/index.d.ts",
20
+ "main": "./dist/index.cjs",
21
+ "module": "./dist/index.js",
22
+ "exports": {
23
+ ".": {
24
+ "import": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/index.d.cts",
30
+ "default": "./dist/index.cjs"
31
+ }
32
+ },
33
+ "./svg": {
34
+ "import": {
35
+ "types": "./dist/svg/index.d.ts",
36
+ "default": "./dist/svg/index.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/svg/index.d.cts",
40
+ "default": "./dist/svg/index.cjs"
41
+ }
42
+ },
43
+ "./react": {
44
+ "import": {
45
+ "types": "./dist/react/index.d.ts",
46
+ "default": "./dist/react/index.js"
47
+ },
48
+ "require": {
49
+ "types": "./dist/react/index.d.cts",
50
+ "default": "./dist/react/index.cjs"
51
+ }
52
+ },
53
+ "./package.json": "./package.json"
54
+ },
55
+ "typesVersions": {
56
+ "*": {
57
+ "svg": [
58
+ "./dist/svg/index.d.ts"
59
+ ],
60
+ "react": [
61
+ "./dist/react/index.d.ts"
62
+ ]
63
+ }
64
+ },
65
+ "files": [
66
+ "dist",
67
+ "CHANGELOG.md"
68
+ ],
69
+ "sideEffects": false,
70
+ "scripts": {
71
+ "lint": "biome lint ./src",
72
+ "typecheck": "tsc --noEmit && tsc -p test && tsc -p example",
73
+ "build": "tsup",
74
+ "build:watch": "tsup --watch",
75
+ "test": "vitest run",
76
+ "test:watch": "vitest",
77
+ "test:coverage": "vitest run --coverage",
78
+ "prepublishOnly": "npm run build && npm run lint && npm run test && publint --pack false --strict && attw --pack . && node scripts/size.mjs && npm run docs",
79
+ "run:publish:npm": "npm publish --access public",
80
+ "run:publish:jsr": "npx jsr publish",
81
+ "run:publish": "npm run run:publish:npm && npm run run:publish:jsr",
82
+ "test:smoke": "npm run build && vitest run test/smoke.test.ts test/packaging.test.ts",
83
+ "example:dev": "vite --config example/vite.config.ts",
84
+ "example:build": "vite build --config example/vite.config.ts",
85
+ "screenshots": "node example/screenshots.mjs",
86
+ "docs": "typedoc",
87
+ "check:package": "npm run build && publint --pack false --strict && attw --pack .",
88
+ "size": "npm run build && node scripts/size.mjs",
89
+ "bench": "node example/bench.mjs"
90
+ },
91
+ "peerDependencies": {
92
+ "@tioniq/disposiq": "^1.5.1",
93
+ "@tioniq/eventiq": "^1.4.1",
94
+ "react": ">=18"
95
+ },
96
+ "peerDependenciesMeta": {
97
+ "react": {
98
+ "optional": true
99
+ }
100
+ },
101
+ "devDependencies": {
102
+ "@arethetypeswrong/cli": "^0.18.5",
103
+ "@biomejs/biome": "^2.6.10",
104
+ "@tioniq/disposiq": "^1.5.1",
105
+ "@tioniq/eventiq": "^1.4.1",
106
+ "@types/node": "^25.9.12",
107
+ "@types/react": "^19.3.3",
108
+ "@types/react-dom": "^19.3.0",
109
+ "esbuild": "^0.28.2",
110
+ "gifenc": "^1.0.3",
111
+ "happy-dom": "^21.0.4",
112
+ "publint": "^0.3.25",
113
+ "react": "^19.3.1",
114
+ "react-dom": "^19.3.1",
115
+ "tsup": "^8.5.1",
116
+ "typedoc": "^0.28.20",
117
+ "typescript": "^5.9.3",
118
+ "vite": "^8.4.1",
119
+ "vitest": "^5.1.2"
120
+ },
121
+ "keywords": [
122
+ "canvas",
123
+ "canvas2d",
124
+ "2d",
125
+ "retained-mode",
126
+ "scene-graph",
127
+ "reactive",
128
+ "layout",
129
+ "zoom",
130
+ "pan",
131
+ "pinch",
132
+ "level-of-detail",
133
+ "eventiq",
134
+ "disposiq",
135
+ "typescript"
136
+ ],
137
+ "private": false,
138
+ "contributors": [
139
+ "Tim (https://github.com/Timoniann)"
140
+ ],
141
+ "engines": {
142
+ "node": ">=18"
143
+ }
144
+ }