File tree 2 files changed +28
-2
lines changed
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " Example" ,
3
+ "version" : " 0.0.1" ,
4
+ "private" : true ,
5
+ "scripts" : {
6
+ "start" : " node node_modules/react-native/local-cli/cli.js start" ,
7
+ "test" : " jest" ,
8
+ "postinstall" : " rm -rf node_modules/\\ @textile/react-native-sdk/example"
9
+ },
10
+ "dependencies" : {
11
+ "@textile/react-native-sdk" : " file:.." ,
12
+ "prop-types" : " ^15.6.2" ,
13
+ "react" : " ^16.6.3" ,
14
+ "react-native" : " ^0.57.2"
15
+ },
16
+ "devDependencies" : {
17
+ "babel-jest" : " 23.6.0" ,
18
+ "jest" : " 23.6.0" ,
19
+ "metro-react-native-babel-preset" : " 0.50.0" ,
20
+ "react-test-renderer" : " 16.6.1"
21
+ },
22
+ "jest" : {
23
+ "preset" : " react-native"
24
+ }
25
+ }
Original file line number Diff line number Diff line change 13
13
"scripts" : {
14
14
"build" : " rm -rf dist/ && tsc" ,
15
15
"lint" : " tslint -c tslint.json --project ." ,
16
- "test" : " jest"
16
+ "test" : " jest" ,
17
+ "ios-example" : " yarn; yarn build; yarn install --production; cd example; yarn upgrade @textile/react-native-sdk; yarn; react-native run-ios"
17
18
},
18
19
"keywords" : [
19
20
" react-native"
39
40
"@types/react-redux" : " ^6.0.9" ,
40
41
"@types/react-test-renderer" : " ^16.0.3" ,
41
42
"@types/uuid" : " ^3.4.4" ,
42
- "babel-jest" : " 23.6.0" ,
43
43
"babel-eslint" : " ^8.1.1" ,
44
+ "babel-jest" : " 23.6.0" ,
44
45
"enzyme" : " ^3.7.0" ,
45
46
"enzyme-adapter-react-16" : " ^1.6.0" ,
46
47
"jest" : " ^23.6.0" ,
You can’t perform that action at this time.
0 commit comments