-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
94 lines (94 loc) · 2.12 KB
/
package.json
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
{
"name": "@nanostores/preact",
"version": "0.5.2",
"description": "Preact integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores",
"keywords": [
"store",
"state",
"state manager",
"preact"
],
"scripts": {
"test:lint": "eslint .",
"test:coverage": "c8 pnpm bnt",
"test:types": "check-dts",
"test:size": "size-limit",
"test": "pnpm run /^test:/"
},
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": "nanostores/preact",
"sideEffects": false,
"type": "module",
"types": "./index.d.ts",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"peerDependencies": {
"nanostores": "^0.9.0 || ^0.10.0 || ^0.11.0",
"preact": ">=10.0.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@logux/eslint-config": "^53.3.0",
"@size-limit/preset-small-lib": "^11.1.4",
"@testing-library/preact": "^3.2.4",
"@types/node": "^22.1.0",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"better-node-test": "^0.5.1",
"c8": "^10.1.2",
"check-dts": "^0.8.0",
"clean-publish": "^5.0.0",
"eslint": "^9.8.0",
"happy-dom": "^14.12.3",
"nanodelay": "^2.0.2",
"nanostores": "^0.11.0",
"preact": "^10.23.1",
"size-limit": "^11.1.4",
"tsx": "^4.16.5",
"typescript": "^5.5.4"
},
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"c8": {
"exclude": [
"**/*.test.*",
"test/*"
],
"lines": 100,
"check-coverage": true,
"reporter": [
"text",
"lcov"
],
"skip-full": true,
"clean": true
},
"size-limit": [
{
"import": {
"index.js": "{ useStore }",
"nanostores": "{ map, computed }"
},
"limit": "921 B"
}
]
}