react-native/local-cli/generator
Luciano Lima c4ab03a18e Add devDependencies support for templates
Summary:
Add devDependencies support to React Native templates.
Template can have a devDependencies.json file with devDependencies inside.
Using separate files to dependencies and devDependencies, it maintains compatibility with the current version.

Allows React Native templates to have devDependencies, which can help applications to have better organization, quality and testability. It's possible start a new app with some dependencies for dev support like prettier, reactotron, eslint packages and others.

Add a devDependencies.json file with at least one dependency (like prettier)

[CLI] [FEATURE] [local-cli/generator/templates.js] - Add support to devDependencies for react native templates
Closes https://github.com/facebook/react-native/pull/18164

Differential Revision: D7660744

Pulled By: hramos

fbshipit-source-id: 6fbb13832d2d1bd0c06bada0842c890dd99cf331
2018-04-17 16:44:51 -07:00
..
copyProjectTemplateAndReplace.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
printRunInstructions.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
promptSync.js Run eslint --fix 2017-10-09 17:46:44 -07:00
templates.js Add devDependencies support for templates 2018-04-17 16:44:51 -07:00