Skip to content

Commit

Permalink
Make Identifier a module
Browse files Browse the repository at this point in the history
  • Loading branch information
fvonhoven committed Aug 27, 2018
1 parent d5882a0 commit 39825d5
Show file tree
Hide file tree
Showing 58 changed files with 14,540 additions and 27 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example/
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion App.js → example/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from "react"
import { View, Slider, Text } from "react-native"
import { Identifier } from "./Identifier"
import { Identifier } from "react-native-identifier"

export default class App extends Component {
state = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions example/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @format */

import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';

AppRegistry.registerComponent(appName, () => App);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9,158 changes: 9,158 additions & 0 deletions example/package-lock.json

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "InYourFace",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-identifier": "../"
},
"devDependencies": {
"babel-jest": "23.4.2",
"babel-preset-react-native": "^5",
"jest": "23.5.0",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}
5,335 changes: 5,335 additions & 0 deletions example/yarn.lock

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
/** @format */

import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';

AppRegistry.registerComponent(appName, () => App);
import { Identifier } from "./Identifier/Identifier"
export { Identifier }
32 changes: 13 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
{
"name": "InYourFace",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.4.1",
"react-native": "0.56.0"
"name": "react-native-identifier",
"version": "0.1.0",
"description": "An identifier window for a subject region",
"main": "index.js",
"directories": {
"example": "example"
},
"devDependencies": {
"babel-jest": "23.4.2",
"babel-preset-react-native": "^5",
"jest": "23.5.0",
"react-test-renderer": "16.4.1"
"dependencies": {},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"jest": {
"preset": "react-native"
}
}
"author": "Frank von Hoven III",
"license": "MIT"
}

0 comments on commit 39825d5

Please sign in to comment.