react-global-state-hooks 12.0.4 → 14.0.0
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/package.json +6 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-global-state-hooks",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "This is a package to easily handling global-state across your react components No-redux, No-context.",
|
|
5
5
|
"main": "./bundle.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -75,12 +75,13 @@
|
|
|
75
75
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --watch --runInBand",
|
|
76
76
|
"test:quick": "jest --maxWorkers=4 -c --no-watchman -u",
|
|
77
77
|
"test:coverage": "jest --maxWorkers=4 -c --colors --no-watchman --verbose --coverage",
|
|
78
|
-
"build": "yarn clean && webpack --config webpack.config.js",
|
|
79
|
-
"prepare": "npm run build",
|
|
78
|
+
"build": "yarn ts-check &&yarn clean && webpack --config webpack.config.js",
|
|
79
|
+
"prepare": "yarn ts-check && npm run build",
|
|
80
80
|
"version": "npm run format && git add -A src",
|
|
81
81
|
"postversion": "git push && git push --tags",
|
|
82
82
|
"clean": "find . -maxdepth 1 -type f \\( -name '*.js' -o -name '*.d.ts' \\) ! -name 'webpack.config.js' -exec rm {} +",
|
|
83
|
-
"format": "prettier --write ."
|
|
83
|
+
"format": "prettier --write .",
|
|
84
|
+
"ts-check": "tsc -p tsconfig.json --pretty true --noEmit true"
|
|
84
85
|
},
|
|
85
86
|
"repository": {
|
|
86
87
|
"type": "git",
|
|
@@ -148,6 +149,6 @@
|
|
|
148
149
|
"react": ">=18.0.0"
|
|
149
150
|
},
|
|
150
151
|
"dependencies": {
|
|
151
|
-
"react-hooks-global-states": "^
|
|
152
|
+
"react-hooks-global-states": "^14.0.0"
|
|
152
153
|
}
|
|
153
154
|
}
|