You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.0 KiB
103 lines
3.0 KiB
{ |
|
"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": "npm run build:types && NODE_ENV=production rollup -c && for i in cjs esm umd; do cp src/*test.js $i; done && rm -rf jsSrc", |
|
"build:types": "tsc -p tsconfig.json", |
|
"codecov": "codecov", |
|
"dev": "webpack-dev-server", |
|
"pretty": "prettier *.js src/**/*.js --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 --projects jest*.js" |
|
}, |
|
"repository": { |
|
"type": "git", |
|
"url": "git+ssh://git@github.com/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", |
|
"es/*.js", |
|
"esm/*.js", |
|
"umd/*.js", |
|
"cjs/*.js", |
|
"!**/*.test.js", |
|
"*.d.ts" |
|
], |
|
"module": "esm/index.js", |
|
"main": "cjs/index.js", |
|
"browser": "umd/index.js", |
|
"types": "react-image.d.ts", |
|
"author": "mbrevda@gmail.com", |
|
"license": "MIT", |
|
"bugs": { |
|
"url": "https://github.com/mbrevda/react-image/issues" |
|
}, |
|
"homepage": "https://github.com/mbrevda/react-image#readme", |
|
"devDependencies": { |
|
"@babel/cli": "7.18.6", |
|
"@babel/core": "7.18.6", |
|
"@babel/plugin-proposal-class-properties": "7.18.6", |
|
"@babel/plugin-proposal-object-rest-spread": "7.18.6", |
|
"@babel/plugin-transform-runtime": "7.18.6", |
|
"@babel/preset-env": "7.18.6", |
|
"@babel/preset-react": "7.18.6", |
|
"@babel/preset-typescript": "7.18.6", |
|
"@babel/runtime": "7.18.6", |
|
"@testing-library/react": "14.0.0", |
|
"@types/jest": "28.1.4", |
|
"@types/react": "18.0.14", |
|
"@types/react-dom": "18.0.5", |
|
"babel-core": "7.0.0-bridge.0", |
|
"babel-jest": "29.5.0", |
|
"babel-loader": "8.2.5", |
|
"babel-plugin-transform-inline-environment-variables": "0.4.4", |
|
"codecov": "3.8.3", |
|
"commander": "9.3.0", |
|
"express": "4.18.1", |
|
"html-webpack-plugin": "5.5.0", |
|
"jest": "29.5.0", |
|
"jest-environment-jsdom": "29.5.0", |
|
"prettier": "2.7.1", |
|
"react": "18.2.0", |
|
"react-dom": "18.2.0", |
|
"rollup": "2.75.7", |
|
"rollup-plugin-babel": "4.4.0", |
|
"rollup-plugin-babel-minify": "10.0.0", |
|
"rollup-plugin-node-resolve": "5.2.0", |
|
"semver": "7.3.7", |
|
"serve-static": "1.15.0", |
|
"ts-jest": "29.0.5", |
|
"ts-loader": "9.3.1", |
|
"typescript": "4.7.4", |
|
"webpack": "5.73.0", |
|
"webpack-cli": "4.10.0", |
|
"webpack-dev-server": "4.9.3" |
|
}, |
|
"peerDependencies": { |
|
"@babel/runtime": ">=7", |
|
"react": ">=16.8", |
|
"react-dom": ">=16.8" |
|
} |
|
}
|
|
|