From 463319f6e4b153daf6f6f6fde50a8bf63043dd0c Mon Sep 17 00:00:00 2001 From: Kesha Antonov Date: Fri, 23 Dec 2022 09:20:33 +0100 Subject: [PATCH] sort package.json --- package.json | 71 +++++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 5db8b6f..a0c4faa 100644 --- a/package.json +++ b/package.json @@ -2,22 +2,28 @@ "name": "react-native-background-downloader", "version": "2.4.2", "description": "A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.", - "main": "index.js", - "scripts": { - "test": "jest", - "prepublishOnly": "jest && npm run lint", - "lint": "eslint ." - }, - "repository": { - "type": "git", - "url": "https://github.com/EkoLabs/react-native-background-downloader.git" - }, "keywords": [ "react-native", "background", "download", "large files" ], + "repository": { + "type": "git", + "url": "https://github.com/EkoLabs/react-native-background-downloader.git" + }, + "license": "Apache-2.0", + "author": { + "name": "Eko labs", + "email": "dev@helloeko.com", + "url": "https://developer.helloeko.com" + }, + "contributors": [ + { + "name": "Elad Gil" + } + ], + "main": "index.js", "files": [ "README.md", "LICENSE", @@ -29,29 +35,28 @@ "android/build.gradle", "android/src/" ], - "author": { - "name": "Eko labs", - "url": "https://developer.helloeko.com", - "email": "dev@helloeko.com" + "scripts": { + "lint": "eslint .", + "prepublishOnly": "jest && npm run lint", + "test": "jest" }, - "contributors": [ - { - "name": "Elad Gil" - } - ], - "license": "Apache-2.0", "lint-staged": { "*.js": "eslint --cache" }, - "peerDependencies": { - "react-native": ">=0.57.0" + "jest": { + "preset": "react-native", + "setupFiles": [ + "./__mocks__/RNBackgroundDownloader.js", + "./node_modules/react-native/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js" + ] }, "devDependencies": { - "@babel/core": "^7.16.0", - "@babel/preset-env": "^7.16.4", - "@babel/runtime": "^7.16.3", + "@babel/core": "^7.4.0", "@babel/eslint-parser": "^7.16.3", - "@react-native-community/eslint-config": "^3.0.1", + "@babel/preset-env": "^7.16.4", + "@babel/runtime": "^7.4.2", + "@react-native-community/eslint-config": "^0.0.3", + "babel-jest": "^24.5.0", "eslint": "7.32.0", "eslint-config-standard": "^16.0.3", "eslint-config-standard-jsx": "^10.0.0", @@ -61,13 +66,9 @@ "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-standard": "^5.0.0", - "@babel/core": "^7.4.0", - "@babel/runtime": "^7.4.2", - "@react-native-community/eslint-config": "^0.0.3", - "babel-jest": "^24.5.0", - "lint-staged": ">=12", "immer": "^3.2.0", "jest": "^24.5.0", + "lint-staged": ">=12", "metro-react-native-babel-preset": "^0.53.1", "react": "16.8.3", "react-native": "0.59.9", @@ -75,11 +76,7 @@ "react-native-vector-icons": "^6.6.0", "react-test-renderer": "16.8.3" }, - "jest": { - "preset": "react-native", - "setupFiles": [ - "./__mocks__/RNBackgroundDownloader.js", - "./node_modules/react-native/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js" - ] + "peerDependencies": { + "react-native": ">=0.57.0" } }