|
1 | 1 | {
|
2 | 2 | "name": "react-use-downloader",
|
3 |
| - "version": "1.1.6", |
| 3 | + "version": "1.1.7", |
4 | 4 | "description": "Creates a download handler function and gives progress information",
|
5 | 5 | "author": "Olavo Parno",
|
6 | 6 | "license": "MIT",
|
|
22 | 22 | "dist/"
|
23 | 23 | ],
|
24 | 24 | "lint-staged": {
|
25 |
| - "*.{js,ts,tsx}": [ |
26 |
| - "eslint --fix src/**/*.{js,jsx,ts,tsx}" |
| 25 | + "*.ts": [ |
| 26 | + "eslint --fix src/**/*.ts" |
27 | 27 | ]
|
28 | 28 | },
|
29 | 29 | "scripts": {
|
30 |
| - "test": "react-scripts test --env=jsdom", |
| 30 | + "test": "react-scripts test", |
31 | 31 | "test:coverage": "npm run test -- --coverage --watchAll=false",
|
32 | 32 | "prebuild": "rm -rf dist",
|
33 | 33 | "build": "rollup -c && tsc -d --emitDeclarationOnly --noEmit false --declarationDir dist",
|
34 | 34 | "start": "rollup -c -w",
|
35 |
| - "prepare": "husky install && npm run build", |
| 35 | + "prepare": "husky install", |
36 | 36 | "predeploy": "cd example && npm install && npm run build",
|
37 | 37 | "deploy": "gh-pages -d example/build",
|
38 |
| - "format": "prettier --write src/**/*.{js,jsx,ts,tsx}", |
39 |
| - "lint": "eslint --fix src/**/*.{js,jsx,ts,tsx}", |
| 38 | + "format": "prettier --write src/**/*.ts", |
| 39 | + "lint": "eslint --fix src/**/*.ts", |
40 | 40 | "release": "standard-version",
|
41 |
| - "make-badges": "istanbul-badges-readme" |
| 41 | + "make-badges": "istanbul-badges-readme --logo=jest" |
42 | 42 | },
|
43 | 43 | "jest": {
|
44 | 44 | "coverageReporters": [
|
45 | 45 | "lcov",
|
46 | 46 | "json-summary"
|
47 | 47 | ]
|
48 | 48 | },
|
| 49 | + "dependencies": { |
| 50 | + "react": "^17.0.2" |
| 51 | + }, |
49 | 52 | "peerDependencies": {
|
50 | 53 | "react": "^17.0.2"
|
51 | 54 | },
|
52 | 55 | "devDependencies": {
|
53 |
| - "@babel/core": "^7.14.6", |
54 |
| - "@babel/runtime": "^7.14.6", |
| 56 | + "@babel/core": "^7.16.12", |
| 57 | + "@babel/runtime": "^7.16.7", |
55 | 58 | "@rollup/plugin-babel": "^5.3.0",
|
56 |
| - "@rollup/plugin-commonjs": "^19.0.0", |
57 |
| - "@rollup/plugin-node-resolve": "^13.0.0", |
58 |
| - "@rollup/plugin-typescript": "^8.2.1", |
59 |
| - "@rollup/plugin-url": "^6.0.0", |
60 |
| - "@testing-library/react-hooks": "^7.0.1", |
61 |
| - "@types/jest": "^26.0.24", |
62 |
| - "@types/node-fetch": "^2.5.11", |
63 |
| - "@types/react": "^17.0.14", |
64 |
| - "@typescript-eslint/eslint-plugin": "^4.28.3", |
65 |
| - "@typescript-eslint/parser": "^4.28.3", |
| 59 | + "@rollup/plugin-commonjs": "^21.0.1", |
| 60 | + "@rollup/plugin-node-resolve": "^13.1.3", |
| 61 | + "@rollup/plugin-typescript": "^8.3.0", |
| 62 | + "@rollup/plugin-url": "^6.1.0", |
| 63 | + "@testing-library/react-hooks": "^7.0.2", |
| 64 | + "@types/jest": "^27.4.0", |
| 65 | + "@types/node-fetch": "^3.0.3", |
| 66 | + "@types/react": "^17.0.38", |
| 67 | + "@typescript-eslint/eslint-plugin": "^5.10.1", |
| 68 | + "@typescript-eslint/parser": "^5.10.1", |
66 | 69 | "cross-env": "^7.0.3",
|
67 |
| - "eslint": "^7.30.0", |
68 |
| - "eslint-config-airbnb": "^18.2.1", |
69 |
| - "eslint-config-airbnb-typescript-prettier": "^4.2.0", |
| 70 | + "eslint": "^8.7.0", |
| 71 | + "eslint-config-airbnb": "^19.0.4", |
| 72 | + "eslint-config-airbnb-typescript-prettier": "^5.0.0", |
70 | 73 | "eslint-config-prettier": "^8.3.0",
|
71 |
| - "eslint-plugin-import": "^2.23.4", |
72 |
| - "eslint-plugin-jsx-a11y": "^6.4.1", |
73 |
| - "eslint-plugin-prettier": "^3.4.0", |
74 |
| - "eslint-plugin-react": "^7.24.0", |
75 |
| - "eslint-plugin-react-hooks": "^4.2.0", |
| 74 | + "eslint-plugin-import": "^2.25.4", |
| 75 | + "eslint-plugin-jsx-a11y": "^6.5.1", |
| 76 | + "eslint-plugin-prettier": "^4.0.0", |
| 77 | + "eslint-plugin-react": "^7.28.0", |
| 78 | + "eslint-plugin-react-hooks": "^4.3.0", |
76 | 79 | "gh-pages": "^3.2.3",
|
77 |
| - "husky": "^7.0.1", |
78 |
| - "istanbul-badges-readme": "^1.4.0", |
79 |
| - "node-fetch": "^2.6.1", |
80 |
| - "prettier": "^2.3.2", |
| 80 | + "husky": "^7.0.4", |
| 81 | + "istanbul-badges-readme": "^1.8.1", |
| 82 | + "node-fetch": "^3.2.0", |
| 83 | + "prettier": "^2.5.1", |
81 | 84 | "react": "^17.0.2",
|
82 |
| - "react-scripts": "^4.0.3", |
| 85 | + "react-scripts": "^5.0.0", |
83 | 86 | "react-test-renderer": "^17.0.2",
|
84 |
| - "rollup": "^2.53.1", |
| 87 | + "rollup": "^2.66.1", |
85 | 88 | "rollup-plugin-peer-deps-external": "^2.2.4",
|
86 | 89 | "rollup-plugin-terser": "^7.0.2",
|
87 |
| - "standard-version": "^9.3.0", |
88 |
| - "tslib": "^2.3.0", |
89 |
| - "typescript": "^4.3.5", |
90 |
| - "web-streams-polyfill": "^3.0.3" |
| 90 | + "standard-version": "^9.3.2", |
| 91 | + "tslib": "^2.3.1", |
| 92 | + "typescript": "^4.5.5", |
| 93 | + "web-streams-polyfill": "^3.2.0" |
91 | 94 | }
|
92 | 95 | }
|
0 commit comments