juststore 0.0.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/dist/form.d.ts +34 -0
- package/dist/form.js +111 -0
- package/dist/impl.d.ts +19 -0
- package/dist/impl.js +378 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +3 -0
- package/dist/local_storage.d.ts +7 -0
- package/dist/local_storage.js +43 -0
- package/dist/memory.d.ts +21 -0
- package/dist/memory.js +17 -0
- package/dist/mixed_state.d.ts +21 -0
- package/dist/mixed_state.js +34 -0
- package/dist/node.d.ts +11 -0
- package/dist/node.js +218 -0
- package/dist/path.d.ts +135 -0
- package/dist/path.js +2 -0
- package/dist/root.d.ts +7 -0
- package/dist/root.js +63 -0
- package/dist/store.d.ts +19 -0
- package/dist/store.js +17 -0
- package/dist/types.d.ts +118 -0
- package/dist/types.js +1 -0
- package/package.json +70 -0
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "juststore",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A small, expressive, and type-safe state management library for React.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"author": "Yusing",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/yusing/juststore"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/yusing/juststore",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/yusing/juststore/issues"
|
|
16
|
+
},
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"keywords": [
|
|
29
|
+
"state",
|
|
30
|
+
"react",
|
|
31
|
+
"typescript",
|
|
32
|
+
"hooks",
|
|
33
|
+
"store",
|
|
34
|
+
"state management",
|
|
35
|
+
"react hooks"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "bun run tsc",
|
|
39
|
+
"typecheck": "bun run tsc --noEmit",
|
|
40
|
+
"lint": "bun run eslint src/**/*.ts",
|
|
41
|
+
"format": "bun run prettier --write src/**/*.ts",
|
|
42
|
+
"format:check": "bun run prettier --check src/**/*.ts",
|
|
43
|
+
"prepublishOnly": "bun run build",
|
|
44
|
+
"publish": "npm publish --access public",
|
|
45
|
+
"prepare": "husky"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"react": ">=18.0.0"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"change-case": "^5.4.4",
|
|
52
|
+
"react-fast-compare": "^3.2.2"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@eslint/js": "^9.39.1",
|
|
56
|
+
"@types/node": "^24.10.2",
|
|
57
|
+
"@types/react": "^19.2.1",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
59
|
+
"@typescript-eslint/parser": "^8.49.0",
|
|
60
|
+
"eslint": "^9.39.1",
|
|
61
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
62
|
+
"eslint-plugin-react": "^7.37.5",
|
|
63
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
64
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
65
|
+
"husky": "^9.1.7",
|
|
66
|
+
"prettier": "^3.7.4",
|
|
67
|
+
"react": "^19.2.1",
|
|
68
|
+
"typescript": "^5.9.3"
|
|
69
|
+
}
|
|
70
|
+
}
|