-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 5.17 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 5.17 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "react-global-state-hooks",
"version": "15.0.16",
"description": "This is a package to easily handling global-state across your react components",
"main": "./bundle.js",
"types": "./index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./bundle.js",
"require": "./bundle.js",
"types": "./index.d.ts"
},
"./createContext": {
"import": "./createContext.js",
"require": "./createContext.js",
"types": "./createContext.d.ts"
},
"./GlobalStore": {
"import": "./GlobalStore.js",
"require": "./GlobalStore.js",
"types": "./GlobalStore.d.ts"
},
"./createGlobalState": {
"import": "./createGlobalState.js",
"require": "./createGlobalState.js",
"types": "./createGlobalState.d.ts"
},
"./types": {
"import": "./types.js",
"require": "./types.js",
"types": "./types.d.ts"
},
"./isRecord": {
"import": "./isRecord.js",
"require": "./isRecord.js",
"types": "./isRecord.d.ts"
},
"./shallowCompare": {
"import": "./shallowCompare.js",
"require": "./shallowCompare.js",
"types": "./shallowCompare.d.ts"
},
"./throwWrongKeyOnActionCollectionConfig": {
"import": "./throwWrongKeyOnActionCollectionConfig.js",
"require": "./throwWrongKeyOnActionCollectionConfig.js",
"types": "./throwWrongKeyOnActionCollectionConfig.d.ts"
},
"./uniqueId": {
"import": "./uniqueId.js",
"require": "./uniqueId.js",
"types": "./uniqueId.d.ts"
},
"./actions": {
"import": "./actions.js",
"require": "./actions.js",
"types": "./actions.d.ts"
}
},
"files": [
"*.js",
"*.d.ts"
],
"scripts": {
"format": "prettier --write . --log-level silent && yarn lint:fix",
"test": "yarn build && yarn jest",
"test:debug:no-watch": "node --inspect-brk node_modules/.bin/jest --no-watchman --runInBand",
"test:debug": "node --inspect-brk node_modules/.bin/jest --watch --runInBand",
"test:quick": "yarn test --no-coverage --maxWorkers=4 -c --no-watchman -u",
"test:coverage": "yarn test --maxWorkers=4 -c --colors --no-watchman --verbose --coverage",
"build": "yarn ts-check && yarn clean && webpack --config webpack.config.js",
"prepare": "yarn format && npm run build && yarn test:quick",
"version": "npm run format && yarn build && yarn jest && git add -A",
"postversion": "git push && git push --tags",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix --max-warnings=0",
"clean": "find . -maxdepth 1 -type f \\( -name '*.js' -o -name '*.d.ts' \\) ! -name 'webpack.config.js' ! -name 'eslint.config.mts' -exec rm {} + && rm -rf coverage",
"ts-check": "tsc -p tsconfig.json --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/johnny-quesada-developer/react-global-state-hooks.git"
},
"keywords": [
"react",
"redux",
"state",
"useState",
"useContext",
"global-state",
"context",
"typescript",
"nextjs",
"next.js",
"next",
"react-hooks",
"hooks",
"react-hooks-global-states",
"react-global-state-hooks",
"react-global-state",
"react-global-hooks",
"react-global",
"preact"
],
"author": "Johnny Quesada",
"license": "MIT",
"bugs": {
"url": "https://github.com/johnny-quesada-developer/react-global-state-hooks/issues"
},
"homepage": "https://github.com/johnny-quesada-developer/react-global-state-hooks#readme",
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@eslint/js": "^9.39.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.3.0",
"@types/jest": "^29.5.11",
"@types/minimatch": "^6.0.0",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"babel-loader": "^9.1.2",
"clean-webpack-plugin": "^4.0.0",
"easy-cancelable-promise": "^1.0.1",
"eslint": "^9.39.1",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.4",
"jiti": "^2.6.1",
"prettier": "^3.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"tslib": "^2.6.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.46.3",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"json-storage-formatter": "^3.0.2",
"react-hooks-global-states": "^15.0.16"
},
"peerDependencies": {
"json-storage-formatter": "^3.0.2",
"react": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": false
},
"json-storage-formatter": {
"optional": false
}
}
}