use-tus 0.8.3 → 0.8.4
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 +20 -17
package/package.json
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "use-tus",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "React hooks for resumable file uploads using tus-js-client",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "npm-run-all -s type clean build:rollup",
|
|
10
|
+
"build:rollup": "cross-env NODE_ENV=production rollup -c",
|
|
11
|
+
"test": "cross-env NODE_ENV=TEST jest",
|
|
12
|
+
"type": "tsc --noEmit",
|
|
13
|
+
"format": "npm-run-all -s format:*",
|
|
14
|
+
"format:fix": "prettier --write './**/*.{ts,tsx,js,jsx,json}'",
|
|
15
|
+
"format:lint": "eslint ./ --ext .ts,.tsx",
|
|
16
|
+
"clean": "rimraf ./dist",
|
|
17
|
+
"prepublishOnly": "npm run build",
|
|
18
|
+
"prepare": "husky install",
|
|
19
|
+
"storybook": "storybook dev -p 6006",
|
|
20
|
+
"storybook:build": "storybook build",
|
|
21
|
+
"storybook:static": "gh-pages -d storybook-static",
|
|
22
|
+
"storybook:deploy": "npm-run-all -s storybook:build storybook:static"
|
|
23
|
+
},
|
|
8
24
|
"keywords": [
|
|
9
25
|
"react",
|
|
10
26
|
"react-hooks",
|
|
@@ -79,20 +95,7 @@
|
|
|
79
95
|
},
|
|
80
96
|
"peerDependencies": {
|
|
81
97
|
"react": ">=16.8",
|
|
82
|
-
"tus-js-client": ">=2.2.0"
|
|
98
|
+
"tus-js-client": ">=2.2.0 <4.2.0"
|
|
83
99
|
},
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
"build:rollup": "cross-env NODE_ENV=production rollup -c",
|
|
87
|
-
"test": "cross-env NODE_ENV=TEST jest",
|
|
88
|
-
"type": "tsc --noEmit",
|
|
89
|
-
"format": "npm-run-all -s format:*",
|
|
90
|
-
"format:fix": "prettier --write './**/*.{ts,tsx,js,jsx,json}'",
|
|
91
|
-
"format:lint": "eslint ./ --ext .ts,.tsx",
|
|
92
|
-
"clean": "rimraf ./dist",
|
|
93
|
-
"storybook": "storybook dev -p 6006",
|
|
94
|
-
"storybook:build": "storybook build",
|
|
95
|
-
"storybook:static": "gh-pages -d storybook-static",
|
|
96
|
-
"storybook:deploy": "npm-run-all -s storybook:build storybook:static"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
100
|
+
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
|
|
101
|
+
}
|