stunk 2.8.1 → 3.0.0-beta.2

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,121 +1,122 @@
1
- {
2
- "name": "stunk",
3
- "version": "2.8.1",
4
- "description": "Stunk is a lightweight, framework-agnostic state management library for JavaScript and TypeScript. It uses chunk-based state units for efficient updates, reactivity, and performance optimization in React, Vue(WIP), Svelte(Coming soon), and Vanilla JS/TS applications.",
5
- "scripts": {
6
- "build": "tsup",
7
- "build:watch": "tsup --watch",
8
- "test": "vitest",
9
- "test:react17": "npm install react@^17.0.0 react-dom@^17.0.0 @types/react@^17.0.0 && npm test",
10
- "test:react18": "npm install react@^18.0.0 react-dom@^18.0.0 @types/react@^18.0.0 && npm test",
11
- "test:react19": "npm install react@^19.0.0 react-dom@^19.0.0 @types/react@^19.0.0 && npm test",
12
- "prepublishOnly": "npm run build && vitest run",
13
- "prepare": "npm run build",
14
- "lint": "eslint . --ext .js,.ts,.tsx,.vue"
15
- },
16
- "type": "module",
17
- "repository": {
18
- "type": "git",
19
- "url": "https://github.com/I-am-abdulazeez/stunk"
20
- },
21
- "homepage": "https://stunk.dev/",
22
- "bugs": {
23
- "url": "https://github.com/I-am-abdulazeez/stunk/issues"
24
- },
25
- "main": "dist/index.js",
26
- "module": "dist/index.js",
27
- "types": "dist/index.d.ts",
28
- "files": [
29
- "dist"
30
- ],
31
- "exports": {
32
- ".": {
33
- "types": "./dist/index.d.ts",
34
- "import": "./dist/index.js",
35
- "require": "./dist/index.cjs"
36
- },
37
- "./middleware": {
38
- "types": "./dist/middleware/index.d.ts",
39
- "import": "./dist/middleware/index.js"
40
- },
41
- "./react": {
42
- "types": "./dist/use-react/index.d.ts",
43
- "import": "./dist/use-react/index.js"
44
- },
45
- "./vue": {
46
- "types": "./dist/use-vue/index.d.ts",
47
- "import": "./dist/use-vue/index.js"
48
- },
49
- "./package.json": "./package.json"
50
- },
51
- "keywords": [
52
- "state-management",
53
- "atomic-state",
54
- "chunk-based state",
55
- "framework-agnostic",
56
- "reactive state library",
57
- "frontend state management",
58
- "JavaScript state management",
59
- "TypeScript state management",
60
- "React state management",
61
- "Vue state management",
62
- "Svelte state management",
63
- "recoil alternative",
64
- "jotai alternative",
65
- "zustand alternative",
66
- "lightweight state management",
67
- "state container",
68
- "reusable state",
69
- "efficient state updates",
70
- "performance optimization",
71
- "stunk",
72
- "chunk"
73
- ],
74
- "author": "AbdulAzeez",
75
- "contributors": [
76
- {
77
- "name": "AbdulAzeez",
78
- "url": "https://github.com/I-am-abdulazeez"
79
- },
80
- {
81
- "name": "Chiboy",
82
- "url": "https://github.com/chibx"
83
- },
84
- {
85
- "name": "Idris",
86
- "url": "https://github.com/Dreezy305"
87
- }
88
- ],
89
- "license": "MIT",
90
- "devDependencies": {
91
- "@testing-library/dom": "^10.4.0",
92
- "@testing-library/react": "^16.2.0",
93
- "@testing-library/vue": "^8.1.0",
94
- "@types/react": "^18.0.0",
95
- "@typescript-eslint/eslint-plugin": "^8.26.1",
96
- "@typescript-eslint/parser": "^8.27.0",
97
- "@vitejs/plugin-react": "^4.3.4",
98
- "@vitejs/plugin-vue": "^5.2.1",
99
- "eslint": "^9.22.0",
100
- "eslint-plugin-react-hooks": "^5.2.0",
101
- "jsdom": "^26.0.0",
102
- "react": "^18.0.0",
103
- "react-dom": "^18.0.0",
104
- "tsup": "^8.5.0",
105
- "typescript": "^5.0.0",
106
- "vitest": "^3.0.8",
107
- "vue": "^3.5.13"
108
- },
109
- "peerDependencies": {
110
- "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
111
- "vue": "^3.5.13"
112
- },
113
- "peerDependenciesMeta": {
114
- "react": {
115
- "optional": true
116
- },
117
- "vue": {
118
- "optional": true
119
- }
120
- }
121
- }
1
+ {
2
+ "name": "stunk",
3
+ "version": "3.0.0-beta.2",
4
+ "description": "Stunk is a lightweight, framework-agnostic state management library for JavaScript and TypeScript. It uses chunk-based state units for efficient updates, reactivity, and performance optimization in React, Vue(WIP), Svelte(Coming soon), and Vanilla JS/TS applications.",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/I-am-abdulazeez/stunk"
9
+ },
10
+ "homepage": "https://stunk.dev/",
11
+ "bugs": {
12
+ "url": "https://github.com/I-am-abdulazeez/stunk/issues"
13
+ },
14
+ "main": "dist/index.js",
15
+ "module": "dist/index.js",
16
+ "types": "dist/index.d.ts",
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js",
24
+ "require": "./dist/index.cjs"
25
+ },
26
+ "./middleware": {
27
+ "types": "./dist/middleware/index.d.ts",
28
+ "import": "./dist/middleware/index.js"
29
+ },
30
+ "./query": {
31
+ "types": "./dist/query/index.d.ts",
32
+ "import": "./dist/query/index.js"
33
+ },
34
+ "./react": {
35
+ "types": "./dist/use-react/index.d.ts",
36
+ "import": "./dist/use-react/index.js"
37
+ },
38
+ "./package.json": "./package.json"
39
+ },
40
+ "keywords": [
41
+ "state-management",
42
+ "atomic-state",
43
+ "chunk-based state",
44
+ "framework-agnostic",
45
+ "reactive state library",
46
+ "frontend state management",
47
+ "JavaScript state management",
48
+ "TypeScript state management",
49
+ "React state management",
50
+ "Vue state management",
51
+ "Svelte state management",
52
+ "recoil alternative",
53
+ "jotai alternative",
54
+ "zustand alternative",
55
+ "lightweight state management",
56
+ "state container",
57
+ "reusable state",
58
+ "efficient state updates",
59
+ "performance optimization",
60
+ "async-state",
61
+ "query",
62
+ "mutation",
63
+ "stunk",
64
+ "chunk"
65
+ ],
66
+ "author": "AbdulAzeez",
67
+ "contributors": [
68
+ {
69
+ "name": "AbdulAzeez",
70
+ "url": "https://github.com/I-am-abdulazeez"
71
+ },
72
+ {
73
+ "name": "Chiboy",
74
+ "url": "https://github.com/chibx"
75
+ },
76
+ {
77
+ "name": "Idris",
78
+ "url": "https://github.com/Dreezy305"
79
+ }
80
+ ],
81
+ "license": "MIT",
82
+ "devDependencies": {
83
+ "@testing-library/dom": "^10.4.0",
84
+ "@testing-library/react": "^16.2.0",
85
+ "@testing-library/vue": "^8.1.0",
86
+ "@types/react": "^18.0.0",
87
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
88
+ "@typescript-eslint/parser": "^8.27.0",
89
+ "@vitejs/plugin-react": "^4.3.4",
90
+ "@vitejs/plugin-vue": "^5.2.1",
91
+ "eslint": "^9.22.0",
92
+ "eslint-plugin-react-hooks": "^5.2.0",
93
+ "jsdom": "^26.0.0",
94
+ "react": "^18.0.0",
95
+ "react-dom": "^18.0.0",
96
+ "tsup": "^8.5.0",
97
+ "typescript": "^5.0.0",
98
+ "vitest": "^3.0.8",
99
+ "vue": "^3.5.13"
100
+ },
101
+ "peerDependencies": {
102
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
103
+ "vue": "^3.5.13"
104
+ },
105
+ "peerDependenciesMeta": {
106
+ "react": {
107
+ "optional": true
108
+ },
109
+ "vue": {
110
+ "optional": true
111
+ }
112
+ },
113
+ "scripts": {
114
+ "build": "tsup",
115
+ "build:watch": "tsup --watch",
116
+ "test": "vitest",
117
+ "test:react17": "npm install react@^17.0.0 react-dom@^17.0.0 @types/react@^17.0.0 && npm test",
118
+ "test:react18": "npm install react@^18.0.0 react-dom@^18.0.0 @types/react@^18.0.0 && npm test",
119
+ "test:react19": "npm install react@^19.0.0 react-dom@^19.0.0 @types/react@^19.0.0 && npm test",
120
+ "lint": "eslint . --ext .js,.ts,.tsx,.vue"
121
+ }
122
+ }