-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.43 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "stan-js",
"version": "1.9.1",
"type": "module",
"description": "Lightweight and flexible state management library designed for use in React applications and beyond",
"keywords": [
"state",
"react",
"store",
"context",
"rerenders",
"typescript",
"intellisense"
],
"homepage": "https://codemask-labs.github.io/stan-js/",
"repository": {
"type": "git",
"url": "git+https://github.com/codemask-labs/stan-js.git"
},
"main": "./dist/index.cjs",
"exports": {
".": {
"module": "./dist/index.mjs",
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.cjs"
},
"./storage": {
"types": "./dist/storage/index.d.ts",
"module": "./dist/storage/index.mjs",
"react-native": "./dist/storage/native.cjs",
"browser": "./dist/storage/index.cjs",
"import": {
"types": "./dist/storage/index.d.mts",
"default": "./dist/storage/index.mjs"
},
"require": {
"types": "./dist/storage/index.d.cts",
"default": "./dist/storage/index.cjs"
},
"default": "./dist/storage/index.cjs"
},
"./vanilla": {
"module": "./dist/vanilla/index.mjs",
"import": {
"types": "./dist/vanilla/index.d.mts",
"default": "./dist/vanilla/index.mjs"
},
"require": {
"types": "./dist/vanilla/index.d.cts",
"default": "./dist/vanilla/index.cjs"
},
"default": "./dist/vanilla/index.cjs"
}
},
"scripts": {
"prepare": "husky",
"precommit": "bun test && bun lint",
"build": "unbuild",
"check:config": "attw --pack . --ignore-rules false-esm && publint",
"check:typescript": "tsc --noEmit",
"test": "bun test",
"lint": "eslint src && dprint check",
"lint:fix": "eslint src --fix && dprint fmt",
"prepublishOnly": "bun install && bun run build"
},
"author": "codemask-labs",
"publishConfig": {
"access": "public",
"provenance": true,
"ignore": [
"dist/*.map*"
]
},
"license": "MIT",
"files": [
"dist",
"mmkv",
"storage",
"vanilla"
],
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@happy-dom/global-registrator": "18.0.1",
"@testing-library/react": "16.3.1",
"@types/bun": "1.3.4",
"@types/web": "0.0.302",
"dprint": "0.50.2",
"eslint": "9.39.2",
"eslint-config-codemask": "2.2.1",
"husky": "9.1.7",
"publint": "0.3.16",
"type-testing": "0.2.0",
"typescript": "5.9.3",
"unbuild": "3.6.1",
"react-native-mmkv": "4.1.0",
"@types/react": "19.2.7"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-native-mmkv": ">=2.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-native-mmkv": {
"optional": true
}
}
}