From deaad8d327233df7ac0c15ec5a16575e4e1c9954 Mon Sep 17 00:00:00 2001 From: Sokovikov Date: Thu, 28 Sep 2017 16:53:27 +0400 Subject: [PATCH] remove src folder --- .npmignore | 1 + src/Button.android.js => Button.android.js | 0 src/Button.ios.js => Button.ios.js | 0 src/DefaultTabBar.js => DefaultTabBar.js | 0 Example/package.json | 2 +- Example/yarn.lock | 2 +- src/SceneComponent.js => SceneComponent.js | 0 ...ScrollableTabBar.js => ScrollableTabBar.js | 0 src/StaticContainer.js => StaticContainer.js | 0 src/index.js => index.js | 0 package.json | 41 ++++++++++++++++++- src/package.json | 40 ------------------ 12 files changed, 43 insertions(+), 43 deletions(-) create mode 100644 .npmignore rename src/Button.android.js => Button.android.js (100%) rename src/Button.ios.js => Button.ios.js (100%) rename src/DefaultTabBar.js => DefaultTabBar.js (100%) rename src/SceneComponent.js => SceneComponent.js (100%) rename src/ScrollableTabBar.js => ScrollableTabBar.js (100%) rename src/StaticContainer.js => StaticContainer.js (100%) rename src/index.js => index.js (100%) mode change 120000 => 100644 package.json delete mode 100644 src/package.json diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..12a719a4 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +Example diff --git a/src/Button.android.js b/Button.android.js similarity index 100% rename from src/Button.android.js rename to Button.android.js diff --git a/src/Button.ios.js b/Button.ios.js similarity index 100% rename from src/Button.ios.js rename to Button.ios.js diff --git a/src/DefaultTabBar.js b/DefaultTabBar.js similarity index 100% rename from src/DefaultTabBar.js rename to DefaultTabBar.js diff --git a/Example/package.json b/Example/package.json index 01558076..43348c74 100644 --- a/Example/package.json +++ b/Example/package.json @@ -10,7 +10,7 @@ "create-react-class": "^15.6.2", "react": "16.0.0", "react-native": "0.48.4", - "react-native-scrollable-tab-view": "file:../src", + "react-native-scrollable-tab-view": "file:../", "react-native-vector-icons": "^4.4.0", "react-navigation": "^1.0.0-beta.13" }, diff --git a/Example/yarn.lock b/Example/yarn.lock index ed5e7dd8..c4b8a905 100644 --- a/Example/yarn.lock +++ b/Example/yarn.lock @@ -3465,7 +3465,7 @@ react-native-drawer-layout@1.3.2: dependencies: react-native-dismiss-keyboard "1.0.0" -"react-native-scrollable-tab-view@file:../src": +"react-native-scrollable-tab-view@file:../": version "0.6.7" dependencies: create-react-class "^15.6.2" diff --git a/src/SceneComponent.js b/SceneComponent.js similarity index 100% rename from src/SceneComponent.js rename to SceneComponent.js diff --git a/src/ScrollableTabBar.js b/ScrollableTabBar.js similarity index 100% rename from src/ScrollableTabBar.js rename to ScrollableTabBar.js diff --git a/src/StaticContainer.js b/StaticContainer.js similarity index 100% rename from src/StaticContainer.js rename to StaticContainer.js diff --git a/src/index.js b/index.js similarity index 100% rename from src/index.js rename to index.js diff --git a/package.json b/package.json deleted file mode 120000 index 45a48316..00000000 --- a/package.json +++ /dev/null @@ -1 +0,0 @@ -src/package.json \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 00000000..74742b0e --- /dev/null +++ b/package.json @@ -0,0 +1,40 @@ +{ + "name": "react-native-scrollable-tab-view", + "version": "0.6.7", + "description": "", + "main": "index.js", + "scripts": { + "lint": "eslint -c .eslintrc . --ignore-path .gitignore", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/brentvatne/react-native-scrollable-tab-view.git" + }, + "keywords": [ + "react-native-component", + "react-component", + "react-native", + "ios", + "tab", + "scrollable" + ], + "author": "Brent Vatne", + "license": "MIT", + "bugs": { + "url": "https://github.com/brentvatne/react-native-scrollable-tab-view/issues" + }, + "peerDependencies": { + "react-native": ">=0.20.0" + }, + "homepage": "https://github.com/brentvatne/react-native-scrollable-tab-view#readme", + "dependencies": { + "react-timer-mixin": "^0.13.3", + "prop-types": "^15.6.0", + "create-react-class": "^15.6.2" + }, + "devDependencies": { + "babel-eslint": "^6.1.2", + "eslint": "^3.1.1" + } +} diff --git a/src/package.json b/src/package.json deleted file mode 100644 index 74742b0e..00000000 --- a/src/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "react-native-scrollable-tab-view", - "version": "0.6.7", - "description": "", - "main": "index.js", - "scripts": { - "lint": "eslint -c .eslintrc . --ignore-path .gitignore", - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/brentvatne/react-native-scrollable-tab-view.git" - }, - "keywords": [ - "react-native-component", - "react-component", - "react-native", - "ios", - "tab", - "scrollable" - ], - "author": "Brent Vatne", - "license": "MIT", - "bugs": { - "url": "https://github.com/brentvatne/react-native-scrollable-tab-view/issues" - }, - "peerDependencies": { - "react-native": ">=0.20.0" - }, - "homepage": "https://github.com/brentvatne/react-native-scrollable-tab-view#readme", - "dependencies": { - "react-timer-mixin": "^0.13.3", - "prop-types": "^15.6.0", - "create-react-class": "^15.6.2" - }, - "devDependencies": { - "babel-eslint": "^6.1.2", - "eslint": "^3.1.1" - } -}