use-state-with-ref 0.2.0-main.b01c9d7 → 0.2.0-main.f10fba4
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 +4 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "use-state-with-ref",
|
|
3
|
-
"version": "0.2.0-main.
|
|
3
|
+
"version": "0.2.0-main.f10fba4",
|
|
4
4
|
"description": "React `useState` with a readonly `RefObject`.",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/"
|
|
@@ -21,12 +21,11 @@
|
|
|
21
21
|
"typings": "./dist/use-state-with-ref.d.ts",
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsup",
|
|
24
|
-
"bump": "npm run bump:prod && npm run bump:dev
|
|
25
|
-
"bump:auditfix": "npm audit fix || exit 0",
|
|
24
|
+
"bump": "npm run bump:prod && npm run bump:dev",
|
|
26
25
|
"bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
|
|
27
26
|
"bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
|
|
28
27
|
"precommit": "npm run precommit:eslint && npm run precommit:publint && npm run precommit:typescript:production && npm run precommit:typescript:test",
|
|
29
|
-
"precommit:eslint": "eslint ./src/",
|
|
28
|
+
"precommit:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint ./src/",
|
|
30
29
|
"precommit:publint": "publint",
|
|
31
30
|
"precommit:typescript:production": "tsc --noEmit --project ./src/tsconfig.precommit.production.json",
|
|
32
31
|
"precommit:typescript:test": "tsc --noEmit --project ./src/tsconfig.precommit.test.json",
|
|
@@ -98,6 +97,6 @@
|
|
|
98
97
|
},
|
|
99
98
|
"dependencies": {
|
|
100
99
|
"use-ref-from": "^0.1.0",
|
|
101
|
-
"use-state-with-ref": "^0.2.0-main.
|
|
100
|
+
"use-state-with-ref": "^0.2.0-main.f10fba4"
|
|
102
101
|
}
|
|
103
102
|
}
|