|
1 | 1 | {
|
2 | 2 | "name": "react-lazy-load-image-component",
|
3 | 3 | "version": "1.5.1",
|
4 |
| - "description": " React Component to lazy load images using a HOC to track window scroll position. ", |
| 4 | + "description": " React Component to lazy load images using a HOC to track window scroll position.", |
5 | 5 | "main": "build/index.js",
|
6 | 6 | "peerDependencies": {
|
7 | 7 | "react": "^15.x.x || ^16.x.x || ^17.x.x",
|
|
12 | 12 | "lodash.throttle": "^4.1.1"
|
13 | 13 | },
|
14 | 14 | "devDependencies": {
|
15 |
| - "babel-cli": "^6.24.1", |
16 |
| - "babel-core": "^6.26.0", |
17 |
| - "babel-eslint": "^8.2.2", |
18 |
| - "babel-jest": "^22.4.1", |
19 |
| - "babel-loader": "^7.1.4", |
20 |
| - "babel-plugin-transform-object-rest-spread": "^6.26.0", |
21 |
| - "babel-preset-env": "^1.6.1", |
22 |
| - "babel-preset-react": "^6.24.1", |
23 |
| - "css-loader": "^0.28.10", |
24 |
| - "enzyme": "^3.4.4", |
25 |
| - "enzyme-adapter-react-16": "^1.2.0", |
26 |
| - "eslint": "^4.18.2", |
27 |
| - "eslint-loader": "^2.0.0", |
28 |
| - "eslint-plugin-babel": "^4.1.2", |
29 |
| - "eslint-plugin-react": "^7.11.1", |
30 |
| - "husky": "^3.1.0", |
31 |
| - "jest": "^23.5.0", |
| 15 | + "@babel/core": "^7.15.0", |
| 16 | + "@babel/eslint-parser": "^7.15.0", |
| 17 | + "@babel/preset-env": "^7.15.0", |
| 18 | + "@babel/preset-react": "^7.14.5", |
| 19 | + "@babel/preset-typescript": "^7.15.0", |
| 20 | + "babel-jest": "^27.0.6", |
| 21 | + "babel-loader": "^8.2.2", |
| 22 | + "css-loader": "^6.2.0", |
| 23 | + "enzyme": "^3.11.0", |
| 24 | + "enzyme-adapter-react-16": "^1.15.6", |
| 25 | + "eslint": "^7.32.0", |
| 26 | + "eslint-plugin-babel": "^5.3.1", |
| 27 | + "eslint-plugin-react": "^7.24.0", |
| 28 | + "eslint-webpack-plugin": "^3.0.1", |
| 29 | + "husky": "^7.0.1", |
| 30 | + "jest": "^27.0.6", |
32 | 31 | "path": "^0.12.7",
|
33 |
| - "prettier": "^1.19.1", |
| 32 | + "prettier": "^2.3.2", |
34 | 33 | "react": "^16.2.0",
|
35 | 34 | "react-dom": "^16.2.0",
|
36 |
| - "style-loader": "^0.20.3", |
37 |
| - "webpack": "^4.17.1", |
38 |
| - "webpack-cli": "^3.1.2" |
| 35 | + "style-loader": "^3.2.1", |
| 36 | + "webpack": "^5.50.0", |
| 37 | + "webpack-cli": "^4.7.2" |
39 | 38 | },
|
40 | 39 | "scripts": {
|
41 | 40 | "test": "jest",
|
|
46 | 45 | },
|
47 | 46 | "jest": {
|
48 | 47 | "verbose": true,
|
49 |
| - "testURL": "http://localhost/" |
| 48 | + "testURL": "http://localhost/", |
| 49 | + "testEnvironment": "jsdom" |
50 | 50 | },
|
51 | 51 | "repository": {
|
52 | 52 | "type": "git",
|
|
0 commit comments