cinematic-renderer2d 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 ADDED
@@ -0,0 +1,151 @@
1
+ {
2
+ "name": "cinematic-renderer2d",
3
+ "version": "0.1.0",
4
+ "description": "High-performance, framework-agnostic NPM library that renders cinematic experiences from JSON specifications targeting 60-120fps performance",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ },
15
+ "./react": {
16
+ "types": "./dist/react.d.ts",
17
+ "import": "./dist/react.js",
18
+ "require": "./dist/react.cjs"
19
+ },
20
+ "./angular": {
21
+ "types": "./dist/angular.d.ts",
22
+ "import": "./dist/angular.js",
23
+ "require": "./dist/angular.cjs"
24
+ }
25
+ },
26
+ "bin": {
27
+ "cinematic-cli": "./dist/cli/index.js"
28
+ },
29
+ "files": [
30
+ "dist",
31
+ "README.md",
32
+ "LICENSE"
33
+ ],
34
+ "scripts": {
35
+ "dev": "vite",
36
+ "build": "tsup",
37
+ "build:analyze": "tsup --metafile && npx esbuild-visualizer dist/metafile-*.json --metadata --open",
38
+ "build:check": "npm run build && npm run validate-build",
39
+ "validate-build": "node scripts/validate-build.js",
40
+ "test": "vitest",
41
+ "test:ui": "vitest --ui",
42
+ "test:coverage": "vitest --coverage",
43
+ "test:run": "vitest --run",
44
+ "lint": "eslint src --ext .ts,.tsx --report-unused-disable-directives --max-warnings 0",
45
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
46
+ "typecheck": "tsc --noEmit",
47
+ "typecheck:watch": "tsc --noEmit --watch",
48
+ "preview": "vite preview",
49
+ "release": "changeset publish",
50
+ "changeset": "changeset",
51
+ "version": "changeset version",
52
+ "clean": "rimraf dist",
53
+ "size-check": "size-limit",
54
+ "prepublishOnly": "npm run clean && npm run typecheck && npm run build",
55
+ "postbuild": "npm run validate-build",
56
+ "pre-publish-check": "node scripts/pre-publish-check.js"
57
+ },
58
+ "keywords": [
59
+ "cinematic",
60
+ "animation",
61
+ "renderer",
62
+ "2d",
63
+ "canvas",
64
+ "dom",
65
+ "performance",
66
+ "typescript",
67
+ "framework-agnostic",
68
+ "json-spec"
69
+ ],
70
+ "author": "Ravi Shekhar",
71
+ "license": "MIT",
72
+ "repository": {
73
+ "type": "git",
74
+ "url": "https://github.com/rvshekhar10/cinematic-renderer2d.git"
75
+ },
76
+ "bugs": {
77
+ "url": "https://github.com/rvshekhar10/cinematic-renderer2d/issues"
78
+ },
79
+ "homepage": "https://github.com/rvshekhar10/cinematic-renderer2d#readme",
80
+ "devDependencies": {
81
+ "@angular/common": "^21.1.2",
82
+ "@angular/core": "^21.1.2",
83
+ "@changesets/cli": "^2.27.1",
84
+ "@size-limit/preset-small-lib": "^11.0.1",
85
+ "@testing-library/jest-dom": "^6.9.1",
86
+ "@testing-library/react": "^16.3.2",
87
+ "@types/node": "^20.10.5",
88
+ "@types/react": "^19.2.10",
89
+ "@typescript-eslint/eslint-plugin": "^6.16.0",
90
+ "@typescript-eslint/parser": "^6.16.0",
91
+ "@vitest/coverage-v8": "^1.1.0",
92
+ "@vitest/ui": "^1.1.0",
93
+ "esbuild-visualizer": "^0.4.1",
94
+ "eslint": "^8.56.0",
95
+ "fast-check": "^3.15.1",
96
+ "jsdom": "^23.0.1",
97
+ "rimraf": "^5.0.5",
98
+ "rxjs": "^7.8.2",
99
+ "size-limit": "^11.0.1",
100
+ "tsup": "^8.0.1",
101
+ "typescript": "^5.3.3",
102
+ "vite": "^5.0.10",
103
+ "vitest": "^1.1.0",
104
+ "zone.js": "^0.16.0"
105
+ },
106
+ "dependencies": {
107
+ "zod": "^3.22.4"
108
+ },
109
+ "peerDependencies": {
110
+ "@angular/core": ">=12.0.0",
111
+ "react": ">=16.8.0"
112
+ },
113
+ "peerDependenciesMeta": {
114
+ "react": {
115
+ "optional": true
116
+ },
117
+ "@angular/core": {
118
+ "optional": true
119
+ }
120
+ },
121
+ "engines": {
122
+ "node": ">=16.0.0"
123
+ },
124
+ "sideEffects": false,
125
+ "size-limit": [
126
+ {
127
+ "name": "Core Library (ESM)",
128
+ "path": "dist/index.js",
129
+ "limit": "100 KB",
130
+ "gzip": true
131
+ },
132
+ {
133
+ "name": "Core Library (CJS)",
134
+ "path": "dist/index.cjs",
135
+ "limit": "100 KB",
136
+ "gzip": true
137
+ },
138
+ {
139
+ "name": "React Adapter (ESM)",
140
+ "path": "dist/react.js",
141
+ "limit": "80 KB",
142
+ "gzip": true
143
+ },
144
+ {
145
+ "name": "Angular Adapter (ESM)",
146
+ "path": "dist/angular.js",
147
+ "limit": "85 KB",
148
+ "gzip": true
149
+ }
150
+ ]
151
+ }