File tree Expand file tree Collapse file tree 3 files changed +23
-6
lines changed
Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 1+ const fs = require ( "fs-extra" ) ;
2+ const path = require ( "path" ) ;
3+
4+ const location = path . join ( __dirname , "../src" ) ;
5+ const destination = path . join (
6+ location ,
7+ "../example/react-native-markdown-renderer"
8+ ) ;
9+
10+ fs . remove ( destination , err => {
11+ fs . copy ( location , destination , err => {
12+ if ( err ) return console . error ( err ) ;
13+
14+ console . log ( "to %s " , destination ) ;
15+ console . log ( "success!" ) ;
16+ } ) ;
17+ } ) ;
Original file line number Diff line number Diff line change 11node_modules /
22.expo /
33npm-debug. *
4- /package-lock.json
4+ /package-lock.json
5+ /react-native-markdown-renderer
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "main" : " ./node_modules/react-native-scripts/build/bin/crna-entry.js" ,
66 "scripts" : {
7- "start" : " react-native-scripts start" ,
7+ "start" : " node ../bin/copy-to-run.js && react-native-scripts start" ,
88 "eject" : " react-native-scripts eject" ,
9- "android" : " react-native-scripts android" ,
10- "ios" : " react-native-scripts ios" ,
9+ "android" : " node ../bin/copy-to-run.js && react-native-scripts android" ,
10+ "ios" : " node ../bin/copy-to-run.js && react-native-scripts ios" ,
1111 "test" : " node node_modules/jest/bin/jest.js --watch" ,
1212 "startdev" : " node ../bin/watch.js"
13-
1413 },
1514 "jest" : {
1615 "preset" : " jest-expo"
2423 "devDependencies" : {
2524 "jest-expo" : " ~18.0.0" ,
2625 "react-native-scripts" : " 0.0.50" ,
27- "react-test-renderer" : " 16.0.0-alpha.12" ,
26+ "react-test-renderer" : " 16.0.0-alpha.12"
2827
2928 }
3029}
You can’t perform that action at this time.
0 commit comments