objs-core 1.1.0 → 2.0.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,37 +1,70 @@
1
- {
2
- "name": "objs-core",
3
- "version": "1.1.0",
4
- "description": "Encrease coding speed, by lightweight samples, states control, caching and auto tests. Easy to use: just split design into samples and give them data to render and action. Also Objs-core can create samples from server rendered DOM and more.",
5
- "homepage": "https://fous.name/objs/",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/foggysq/objs.git"
9
- },
10
- "author": "Roman Torshin <inbox@fous.name>",
11
- "license": "Apache-2.0",
12
- "bugs": {
13
- "url": "https://github.com/foggysq/objs/issues"
14
- },
15
- "main": "objs.npm.1.1.js",
16
- "scripts": {
17
- "test": "node tests.js"
18
- },
19
- "dependencies": {},
20
- "keywords": [
21
- "fast coding",
22
- "samples",
23
- "state control",
24
- "lightweight",
25
- "optimisation",
26
- "auto test",
27
- "script cache",
28
- "optimize",
29
- "fast develop",
30
- "sample",
31
- "ajax",
32
- "caching",
33
- "dom control",
34
- "react speed up",
35
- "objs"
36
- ]
37
- }
1
+ {
2
+ "name": "objs-core",
3
+ "version": "2.0.0",
4
+ "type": "module",
5
+ "description": "Lightweight (~6 kB) library for fast, AI-friendly front-end development: samples and state control, built-in store (createStore), routing, caching, and recording → Playwright tests. No build step; split design into samples and give them data and actions. Works standalone or alongside React; SSR and hydrate from server-rendered DOM. v2.0: exportPlaywrightTest(), refs, TypeScript definitions, recording in all builds.",
6
+ "homepage": "https://en.fous.name/objs/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/foggysq/objs.git"
10
+ },
11
+ "author": "Roman Torshin <inbox@fous.name>",
12
+ "license": "Apache-2.0",
13
+ "bugs": {
14
+ "url": "https://github.com/foggysq/objs/issues"
15
+ },
16
+ "main": "./objs.built.js",
17
+ "module": "./objs.built.js",
18
+ "exports": {
19
+ ".": {
20
+ "default": "./objs.built.js"
21
+ }
22
+ },
23
+ "files": [
24
+ "objs.js",
25
+ "objs.built.js",
26
+ "objs.built.min.js",
27
+ "objs.d.ts",
28
+ "SKILL.md",
29
+ "EXAMPLES.md"
30
+ ],
31
+ "scripts": {
32
+ "build": "node build.js",
33
+ "prepublishOnly": "node build.js",
34
+ "lint": "node node_modules/@biomejs/biome/bin/biome check examples/ objs.js",
35
+ "lint:fix": "node node_modules/@biomejs/biome/bin/biome check --write examples/ objs.js"
36
+ },
37
+ "devDependencies": {
38
+ "@biomejs/biome": "^2.4.6",
39
+ "esbuild": "^0.25.0"
40
+ },
41
+ "keywords": [
42
+ "AI friendly",
43
+ "fast coding",
44
+ "micro-service",
45
+ "samples",
46
+ "state control",
47
+ "optimisation",
48
+ "auto test",
49
+ "reload tests",
50
+ "script cache",
51
+ "optimize",
52
+ "fast develop",
53
+ "preload scripts",
54
+ "preload styles",
55
+ "ajax",
56
+ "caching",
57
+ "dom control",
58
+ "react speed up",
59
+ "objs",
60
+ "server side render",
61
+ "hydrate",
62
+ "cookies",
63
+ "local storage",
64
+ "session storage",
65
+ "event delegation",
66
+ "redux",
67
+ "mobx",
68
+ "typescript"
69
+ ]
70
+ }