dev-master
9999999-dev https://github.com/smartorigin/react-utils-bundleReact commands for deploying & debugging app
MIT
The Requires
by Smart Origin
Wallogit.com
2017 © Pedro Peláez
React commands for deploying & debugging app
React commands for deploying & debugging app into Symfony environment.
This bundle is compatible Symfony 3.X versions (perhaps its fine with 4.X, but not tested)., (*1)
You need to install npm and yarn (optionnal) before use this bundle's commands., (*2)
This bundle works with npm or yarn shells.
You can define the path of this in config.yml file :, (*3)
so_react_utils:
npm_bin_path: /usr/bin/npm # default value
yarn_bin_path: /usr/bin/yarn # default value
This bundle provide 3 commands :, (*4)
bin/console soreact_utils:npm:install @BundleName # Argument1 : @BundleName : Name of the bundle who have the React Components to install *required* # option1 : --timeout or -t : number of seconds before the process raise a timeout *optionnal* (default 300) # option2 : --reactFolderPath or -p : path to react folder in the bundle *optionnal* (default ReactComponent) bin/console soreact_utils:yarn:install @BundleName --timeout 1 # Argument1 : @BundleName : Name of the bundle who have the React Components to install *required* # option1 : --timeout or -t : number of seconds before the process raise a timeout *optionnal* (default 300) # option2 : --reactFolderPath or -p : path to react folder in the bundle *optionnal* (default ReactComponent) bin/console soreact_utils:npm:run @BundleName webpackScript # Argument1 : @BundleName : Name of the bundle who have the React Components to install *required* # Argument1 : webpackScript : Name of the webpack script to run *required* # option1 : --reactFolderPath or -p : path to react folder in the bundle *optionnal* (default ReactComponent)
React commands for deploying & debugging app
MIT