generator-le-factory

Make all necesarry files and file changes to add a page to an angular project.

Usage no npm install needed!

<script type="module">
  import generatorLeFactory from 'https://cdn.skypack.dev/generator-le-factory';
</script>

README

generator-le-factory

**Make all necesarry files and file changes to add a page to an angular project. **

Installation

npm install generator-le-factory

Usage


  In order for the factory generator to work, your angular project must have a 'client/index.html' and a 'client/src/app/app.js' file. You can optionally add hooks for the generator to include the new files and modules in those two files with the hooks "<!-- YOEMAN HOOK -->" and "/*--YEOMAN-HOOK--*/" respectively.

  To generate a new factory, cd into your porject and run 'yo le-factory' from the command line. You will be prompted for the name.
  

Tests

  • npm test to run unit tests

Contributing

Please follow the project's conventions or your changes will not be accepted

Release History

  • 0.0.0 Initial release