mirror of
https://github.com/status-im/react-native-image-resizer.git
synced 2025-01-16 17:54:18 +00:00
aef2a9c7d8
- Throw exception instead of returning null sourceImage, which avoids returning pseudo-empty "file:" string to Javascript on failure - Use constant strings for checking path prefixes - Cleanup of conditional statements for checking path prefixes - Additional try-catch statements, contributing more-fine-grained error messages Other - Updated .gitignore to latest React Native template - Updated Android gradle scripts - Updated package.json's in root and in example to point to correct react/react-native versions, and to use local code for this library directly in the example app
40 lines
914 B
JSON
40 lines
914 B
JSON
{
|
|
"name": "react-native-image-resizer",
|
|
"version": "0.1.0",
|
|
"description": "Rescale local images with React Native",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/4ian/react-native-image-resizer.git"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"react",
|
|
"android",
|
|
"ios",
|
|
"images",
|
|
"image",
|
|
"image-resizer",
|
|
"scaling",
|
|
"scale",
|
|
"resize"
|
|
],
|
|
"peerDependencies": {
|
|
"react": "^15.4.0",
|
|
"react-native": ">=v0.40.0"
|
|
},
|
|
"author": "Florian Rival <florianr@bam.tech> (http://bam.tech)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/4ian/react-native-image-resizer/issues"
|
|
},
|
|
"homepage": "https://github.com/4ian/react-native-image-resizer#readme",
|
|
"devDependencies": {
|
|
"cz-conventional-changelog": "^1.2.0"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|