-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement: Adjust template to match new init command (#24138)
Summary: Adjusting template to new init command (react-native-community/cli#241). PR with new init command needs to be merged before we land this. [General] [Changed] - Adjust template to match new init command Pull Request resolved: #24138 Differential Revision: D14617568 Pulled By: cpojer fbshipit-source-id: f4b90920d47d3e0d2b08470e0eaad1abd733e4cc
- Loading branch information
1 parent
9834c58
commit 770da3a
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
placeholderName: 'HelloWorld', | ||
templateDir: './template', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "HelloWorld", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"start": "react-native start", | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
"react": "16.8.1", | ||
"react-native": "0.59.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.3.3", | ||
"@babel/runtime": "^7.3.1", | ||
"@react-native-community/eslint-config": "^0.0.3", | ||
"babel-jest": "^24.1.0", | ||
"jest": "^24.1.0", | ||
"metro-react-native-babel-preset": "^0.51.1", | ||
"react-test-renderer": "16.8.1" | ||
}, | ||
"jest": { | ||
"preset": "react-native" | ||
} | ||
} |