-
Notifications
You must be signed in to change notification settings - Fork 91
/
package.json
84 lines (84 loc) · 2.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "react-image",
"version": "4.1.0",
"description": "React Image is an <img> tag replacement for react, featuring preloader and multiple image fallback support",
"scripts": {
"build": "node build.js && npm run build:types && mv dist/src/*.d.ts dist",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
"codecov": "codecov",
"dev": "NODE_ENV=development node --watch build.js",
"pretty": "prettier \"**/*.{?(cj|mj|t|j)s?(on|on5|x),y?(a)ml,graphql,md,css}\" --write",
"isNewerThanPublished": "semver `npm -s view $npm_package_name dist-tags.${TAG:-latest}` --range \"<$npm_package_version\" > /dev/null && echo true || echo false",
"test": "jest",
"test:dist": "for i in cjs esm; do cp src/*test.* dist/$i; echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json; done && npm run test -- dist"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/mbrevda/react-image.git"
},
"keywords": [
"reactjs",
"img",
"image",
"loader",
"fallback",
"react image",
"react-image",
"react img multi",
"react-img-multi",
"react image fallback",
"react image loader",
"react image preloader",
"react images",
"placeholder",
"placeholders",
"react image transition",
"react image fade",
"image transition",
"image fade"
],
"files": [
"*.md",
"dist/esm/*.js",
"dist/cjs/*.js",
"!**/*.test.js",
"*.d.ts"
],
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"types": "dist/index.d.ts",
"type": "module",
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/mbrevda/react-image/issues"
},
"homepage": "https://github.com/mbrevda/react-image#readme",
"devDependencies": {
"@testing-library/react": "16.1.0",
"@types/jest": "29.5.14",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"codecov": "3.8.3",
"esbuild": "0.24.2",
"esbuild-jest": "0.5.0",
"esbuild-jest-transform": "2.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"open": "10.1.0",
"prettier": "3.4.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"semver": "7.6.3",
"typescript": "5.7.3"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"overrides": {
"esbuild-jest-transform": {
"esbuild": "$esbuild"
}
}
}