react-util-tools 1.0.21 → 1.0.23
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 +10 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-util-tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "A collection of useful utilities: throttle, debounce, date formatting, device detection, money formatting, decimal calculations and more",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -14,15 +14,6 @@
|
|
|
14
14
|
"require": "./dist/index.cjs"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
19
|
-
"dev": "tsup src/index.ts --watch",
|
|
20
|
-
"prepublishOnly": "npm run build",
|
|
21
|
-
"release:patch": "npm version patch --no-git-tag-version && git add . && git commit -m 'chore: release v%s' && git tag v$(node -p \"require('./package.json').version\") && git push --follow-tags && npm publish",
|
|
22
|
-
"release:minor": "npm version minor --no-git-tag-version && git add . && git commit -m 'chore: release v%s' && git tag v$(node -p \"require('./package.json').version\") && git push --follow-tags && npm publish",
|
|
23
|
-
"release:major": "npm version major --no-git-tag-version && git add . && git commit -m 'chore: release v%s' && git tag v$(node -p \"require('./package.json').version\") && git push --follow-tags && npm publish",
|
|
24
|
-
"release": "npm run release:patch"
|
|
25
|
-
},
|
|
26
17
|
"keywords": [
|
|
27
18
|
"react",
|
|
28
19
|
"utils",
|
|
@@ -63,5 +54,13 @@
|
|
|
63
54
|
"date-fns": "^4.1.0",
|
|
64
55
|
"date-fns-tz": "^3.2.0",
|
|
65
56
|
"decimal.js": "^10.6.0"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
60
|
+
"dev": "tsup src/index.ts --watch",
|
|
61
|
+
"release:patch": "pnpm version patch --no-git-tag-version && git add . && git commit -m 'chore: release v%s' && git tag v$(node -p \"require('./package.json').version\") && git push --follow-tags && pnpm publish --no-git-checks",
|
|
62
|
+
"release:minor": "pnpm version minor --no-git-tag-version && git add . && git commit -m 'chore: release v%s' && git tag v$(node -p \"require('./package.json').version\") && git push --follow-tags && pnpm publish --no-git-checks",
|
|
63
|
+
"release:major": "pnpm version major --no-git-tag-version && git add . && git commit -m 'chore: release v%s' && git tag v$(node -p \"require('./package.json').version\") && git push --follow-tags && pnpm publish --no-git-checks",
|
|
64
|
+
"release": "pnpm run release:patch"
|
|
66
65
|
}
|
|
67
|
-
}
|
|
66
|
+
}
|