| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- {
- "name": "@bam.tech/react-native-image-resizer",
- "version": "3.0.11",
- "description": "Rescale local images with React Native",
- "main": "lib/commonjs/index.js",
- "module": "lib/module/index.js",
- "types": "lib/typescript/index.d.ts",
- "react-native": "src/index.tsx",
- "source": "src/index",
- "files": [
- "src",
- "lib",
- "android",
- "ios",
- "cpp",
- "*.podspec",
- "!lib/typescript/example",
- "!ios/build",
- "!android/build",
- "!android/gradle",
- "!android/gradlew",
- "!android/gradlew.bat",
- "!android/local.properties",
- "!**/__tests__",
- "!**/__fixtures__",
- "!**/__mocks__",
- "!**/.*"
- ],
- "scripts": {
- "test": "jest",
- "typescript": "tsc --noEmit",
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
- "prepare": "bob build",
- "release": "release-it",
- "example": "yarn --cwd example",
- "bootstrap": "yarn example && yarn && yarn example pods",
- "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
- },
- "keywords": [
- "react-native",
- "react",
- "android",
- "ios",
- "images",
- "image",
- "image-resizer",
- "scaling",
- "scale",
- "resize"
- ],
- "repository": {
- "type": "git",
- "url": "git+https://github.com/bamlab/react-native-image-resizer.git"
- },
- "author": "Florian Rival <florianr@bam.tech> (http://bam.tech)",
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/bamlab/react-native-image-resizer/issues"
- },
- "homepage": "https://github.com/bamlab/react-native-image-resizer#readme",
- "publishConfig": {
- "registry": "https://registry.npmjs.org/",
- "access": "public"
- },
- "devDependencies": {
- "@evilmartians/lefthook": "^1.2.2",
- "@commitlint/config-conventional": "^17.0.2",
- "@react-native-community/eslint-config": "^3.0.2",
- "@release-it/conventional-changelog": "^5.0.0",
- "@types/jest": "^28.1.2",
- "@types/react": "~17.0.21",
- "@types/react-native": "0.70.0",
- "commitlint": "^17.0.2",
- "del-cli": "^5.0.0",
- "eslint": "^8.4.1",
- "eslint-config-prettier": "^8.5.0",
- "eslint-plugin-prettier": "^4.0.0",
- "jest": "^28.1.1",
- "pod-install": "^0.1.0",
- "prettier": "^2.0.5",
- "react": "18.2.0",
- "react-native": "0.71.8",
- "react-native-builder-bob": "^0.20.0",
- "release-it": "^15.0.0",
- "typescript": "^4.5.2"
- },
- "resolutions": {
- "@types/react": "17.0.21"
- },
- "peerDependencies": {
- "react": "*",
- "react-native": "*"
- },
- "engines": {
- "node": ">= 16.0.0"
- },
- "packageManager": "^yarn@1.22.15",
- "jest": {
- "preset": "react-native",
- "modulePathIgnorePatterns": [
- "<rootDir>/example/node_modules",
- "<rootDir>/lib/"
- ]
- },
- "commitlint": {
- "extends": [
- "@commitlint/config-conventional"
- ]
- },
- "release-it": {
- "git": {
- "commitMessage": "chore: release ${version}",
- "tagName": "v${version}"
- },
- "npm": {
- "publish": true
- },
- "github": {
- "release": true
- },
- "plugins": {
- "@release-it/conventional-changelog": {
- "preset": "angular"
- }
- }
- },
- "eslintConfig": {
- "root": true,
- "extends": [
- "@react-native-community",
- "prettier"
- ],
- "rules": {
- "prettier/prettier": [
- "error",
- {
- "quoteProps": "consistent",
- "singleQuote": true,
- "tabWidth": 2,
- "trailingComma": "es5",
- "useTabs": false
- }
- ]
- }
- },
- "eslintIgnore": [
- "node_modules/",
- "lib/"
- ],
- "prettier": {
- "quoteProps": "consistent",
- "singleQuote": true,
- "tabWidth": 2,
- "trailingComma": "es5",
- "useTabs": false
- },
- "react-native-builder-bob": {
- "source": "src",
- "output": "lib",
- "targets": [
- "commonjs",
- "module",
- [
- "typescript",
- {
- "project": "tsconfig.build.json"
- }
- ]
- ]
- },
- "codegenConfig": {
- "name": "RNImageResizerSpec",
- "type": "modules",
- "jsSrcsDir": "src"
- }
- }
|