Skip to content

Commit

Permalink
Merge pull request #7 from app-sapiens/buildscripts
Browse files Browse the repository at this point in the history
🔨 packaging build
  • Loading branch information
Charles Killer committed Aug 10, 2020
2 parents cab6e8f + cb76fa1 commit 09e55ef
Show file tree
Hide file tree
Showing 26 changed files with 7,752 additions and 1,785 deletions.
9 changes: 0 additions & 9 deletions .expo/packager-info.json

This file was deleted.

51 changes: 50 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,50 @@
node_modules
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# generate output
dist

.expo
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dist
.babelrc
.storybook
.gitignore
.prettierrc
rollup.config.js
tsconfig.json
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions App.tsx → example/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from "react";
import { StatusBar } from "react-native";

import Picker from "./src/Picker";
import Picker from "ios-date-picker-js";

export default () => (
<>
Expand Down
21 changes: 21 additions & 0 deletions example/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 App Sapiens

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
12 changes: 12 additions & 0 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ios-date-picker-js
Cross platform reanimated implementation of iOS date picker

[![runs with expo](https://img.shields.io/badge/Runs%20with%20Expo-000.svg?style=flat-square&logo=EXPO&labelColor=f3f3f3&logoColor=000)](https://expo.io/)

[![run in expo snack](https://img.shields.io/badge/Run%20in%20Snack-4630EB.svg?style=flat-square&logo=EXPO&labelColor=FFF&logoColor=000)](https://snack.expo.io/@git/github.com/app-sapiens/ios-date-picker-js)

There has been a notable abscence of good JS-only date time pickers for React Native.

When [@wcandillion](https://github.com/wcandillon) created his Picker video I felt obliged to create this repo.

Help needed to make this a useable library!
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
34 changes: 34 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject",
"lint": "eslint --ext .ts,.tsx .",
"tsc": "tsc"
},
"dependencies": {
"@react-native-community/masked-view": "0.1.10",
"expo": "^38.0.0",
"ios-date-picker-js": "^0.0.1",
"react": "16.11.0",
"react-dom": "16.11.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz",
"react-native-gesture-handler": "~1.6.0",
"react-native-reanimated": "~1.9.0",
"react-native-redash": "14.2.3"
},
"devDependencies": {
"@types/color": "^3.0.1",
"@types/react": "~16.9.41",
"@types/react-native": "~0.62.13",
"babel-preset-expo": "^8.2.3",
"eslint": "7.5.0",
"eslint-config-react-native-wcandillon": "3.3.3",
"patch-package": "^6.1.2",
"typescript": "~3.9.5"
},
"private": true
}
26 changes: 26 additions & 0 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"jsx": "react-native",
"lib": [
"dom",
"esnext"
],
"moduleResolution": "node",
"noEmit": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
}
}
Loading

0 comments on commit 09e55ef

Please sign in to comment.