Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Commit

Permalink
Add JS implementation of Indy methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubkoci committed Jan 31, 2020
1 parent 728a9da commit 0fc7108
Show file tree
Hide file tree
Showing 10 changed files with 710 additions and 546 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-flow"]
}
11 changes: 11 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[ignore]

[include]

[libs]

[lints]

[options]

[strict]
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ buck-out/

# NPM package
rn-indy-sdk-*.tgz

# Build output
lib
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
android/.idea
android/build
rn-indy-sdk-1.0.0.tgz
rn-indy-sdk-1.0.0.tgz
src
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typescript.validate.enable": false,
"javascript.validate.enable": false
}
44 changes: 0 additions & 44 deletions index.js

This file was deleted.

15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@
"title": "React Native Indy SDK Wrapper",
"version": "0.1.1",
"description": "React Native Indy SDK Wrapper",
"main": "index.js",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "babel src/ -d lib/",
"prepublish": "yarn run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AbsaOSS/rn-indy-sdk.git",
"baseUrl": "https://github.com/AbsaOSS/rn-indy-sdk"
},
"keywords": [
"react-native", "Hyperledger Indy", "Hyperledger Aries", "Indy SDK"
"react-native",
"Hyperledger Indy",
"Hyperledger Aries",
"Indy SDK"
],
"author": {
"name": "Jakub Koci",
Expand All @@ -27,6 +32,10 @@
"react-native": ">=0.59.0-rc.0 <1.0.x"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/preset-flow": "^7.8.3",
"flow-bin": "^0.117.0",
"react": "^16.8.3",
"react-native": "^0.59.10"
}
Expand Down
Loading

0 comments on commit 0fc7108

Please sign in to comment.