Skip to content

Commit f53be88

Browse files
Zach-Dean-Attractions-ioZach Dean
andauthored
Update the JSON provided in the modification of the package.json file step (facebook#4580)
Co-authored-by: Zach Dean <[email protected]>
1 parent d356586 commit f53be88

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/the-new-architecture/pure-cxx-modules.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,12 +388,13 @@ Modify the `package.json` as it follows:
388388
"jsSrcsDir": "specs",
389389
"android": {
390390
"javaPackageName": "com.sampleapp.specs"
391-
}
392391
// highlight-add-start
393-
"ios":
392+
},
393+
"ios": {
394394
"modulesProvider": {
395395
"NativeSampleModule": "NativeSampleModuleProvider"
396396
}
397+
}
397398
// highlight-add-end
398399
},
399400

website/versioned_docs/version-0.79/the-new-architecture/pure-cxx-modules.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,12 +388,13 @@ Modify the `package.json` as it follows:
388388
"jsSrcsDir": "specs",
389389
"android": {
390390
"javaPackageName": "com.sampleapp.specs"
391-
}
392391
// highlight-add-start
393-
"ios":
392+
},
393+
"ios": {
394394
"modulesProvider": {
395395
"NativeSampleModule": "NativeSampleModuleProvider"
396396
}
397+
}
397398
// highlight-add-end
398399
},
399400

0 commit comments

Comments
 (0)