-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.06 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.06 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
{
"name": "@future-widget-lab/react-context-provider",
"version": "0.1.3",
"description": "A helper for creating React providers with an associated custom hook.",
"license": "MIT",
"author": "Carlos Lobo",
"main": "dist/index.js",
"module": "dist/react-context-provider.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/future-widget-lab/react-context-provider.git"
},
"scripts": {
"analyze": "size-limit --why",
"build": "dts build",
"lint": "dts lint",
"prepare": "dts build",
"size": "size-limit",
"start": "dts watch"
},
"husky": {
"hooks": {
"pre-commit": "dts lint"
}
},
"prettier": {
"singleAttributePerLine": true,
"bracketSpacing": true,
"useTabs": true,
"singleQuote": true,
"semi": true,
"printWidth": 120,
"tabWidth": 2,
"importOrderSeparation": false,
"importOrderSortSpecifiers": true,
"importOrderCaseInsensitive": true,
"pluginSearchDirs": false,
"trailingComma": "none"
},
"jest": {
"testEnvironment": "jsdom"
},
"peerDependencies": {
"react": ">=16"
},
"engines": {
"node": ">=12"
},
"size-limit": [
{
"path": "dist/react-context-provider.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-context-provider.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^11.1.6",
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/vite-react": "^3.4.0",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.3.1",
"dts-cli": "^2.0.5",
"husky": "^9.1.7",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"size-limit": "^11.1.6",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
},
"keywords": [
"react",
"context",
"provider",
"state-management",
"useContext",
"context-api",
"hooks",
"typescript",
"react-hooks",
"custom-hook",
"state",
"context-provider",
"create-context"
]
}