Skip to content

Commit

Permalink
Added project initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
BreckoEC committed Mar 7, 2023
1 parent 61fd7db commit 4ec46b1
Show file tree
Hide file tree
Showing 10 changed files with 7,388 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
build
36 changes: 36 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
env: {
node: true,
browser: true,
es2021: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'universe/native',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
rules: {
semi: [2, 'never'],
quotes: [2, 'single'],
'max-len': [2, { code: 120 }],
'@typescript-eslint/no-unused-vars': ['warn', { caughtErrors: 'none' }],
'@typescript-eslint/ban-ts-comment': ['off'],
'prettier/prettier': [
'error',
{
singleQuote: true,
semi: false,
printWidth: 120,
},
],
},
}
61 changes: 61 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# OSX
#
.DS_Store

# VSCode
.vscode/
jsconfig.json

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IJ
#
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
android.iml

# Cocoapods
#
example/ios/Pods

# Ruby
example/vendor/

# node.js
#
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

# Expo
.expo/*
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Exclude all top-level hidden directories by convention
/.*/

__mocks__
__tests__

/babel.config.js
/android/src/androidTest/
/android/src/test/
/android/build/
/example/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
6 changes: 6 additions & 0 deletions expo-module.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"platforms": ["ios"],
"ios": {
"modules": ["ShareExtensionNativeModule"]
}
}
62 changes: 62 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "share-extension-expo-plugin",
"version": "1.0.0",
"description": "Share Extension Expo Plugin",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "expo-module build",
"clean": "expo-module clean",
"lint": "expo-module lint",
"test": "expo-module test",
"prepare": "expo-module prepare",
"prepublishOnly": "expo-module prepublishOnly",
"expo-module": "expo-module"
},
"keywords": [
"react-native",
"expo",
"share",
"extension",
"ios"
],
"repository": "https://github.com/BreckoEC/share-extension-expo-plugin.git",
"bugs": {
"url": "https://github.com/BreckoEC/share-extension-expo-plugin/issues"
},
"author": "Brecko <[email protected]> (https://github.com/BreckoEC)",
"license": "MIT",
"homepage": "https://github.com/BreckoEC/share-extension-expo-plugin#readme",
"dependencies": {
"xcode": "^3.0.1"
},
"devDependencies": {
"@expo/config-types": "^47.0.0",
"@types/react": "^18.0.25",
"@types/react-native": "^0.70.6",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-universe": "^11.1.1",
"expo": "^47.0.7",
"expo-application": "~5.0.1",
"expo-constants": "~14.0.2",
"expo-device": "~5.0.0",
"expo-module-scripts": "^3.0.4",
"expo-modules-core": "^1.1.0",
"expo-updates": "~0.15.6",
"prettier": "^2.8.1",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.1.0",
"typescript": "^4.7.4"
},
"peerDependencies": {
"expo": "*",
"expo-application": "*",
"expo-constants": "*",
"expo-device": "*",
"expo-updates": "*",
"react": "*",
"react-native": "*"
}
}
5 changes: 5 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
semi: false,
singleQuote: true,
printWidth: 120,
}
11 changes: 11 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "expo-module-scripts/tsconfig.base",
"compilerOptions": {
"outDir": "./build",
"module": "commonjs",
"esModuleInterop": true,
"resolveJsonModule": true
},
"include": ["./src"],
"exclude": ["**/__mocks__/*", "**/__tests__/*", "**/__stories__/*"]
}
Loading

0 comments on commit 4ec46b1

Please sign in to comment.