generator-ng-factory

ngFactory generator for AngularJS applications

Usage no npm install needed!

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

README

generator-ng-factory Npm Version Project Status

A generator for AngularJS applications, components and libraries leveraging ngFactory, the industrialized workflow for AngularJS.

Getting Started

To install generator-angular-bootstrap from npm, run:

$ npm i -g yo bower generator-ng-factory

Finally, initiate the generator:

$ yo ng-factory

Once done, you can either use a global gulp-cli#4.0 instance:

$ npm i -g gulpjs/gulp-cli#4.0
$ gulp serve

Or the local one that comes bundled in your node_modules:

$ $(npm bin)/gulp serve

In that case, you can add an alias into your .bash_aliases like:

function lgulp() { $(npm bin)/gulp $@; }

Communication

  • If you need help, use Stack Overflow.
  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Frequently Encountered Errors

/usr/local/lib/node_modules/gulp/bin/gulp.js:129
    gulpInst.start.apply(gulpInst, toRun);
                  ^
TypeError: Cannot read property 'apply' of undefined
    at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:19
  • You are using a gulp#3.0 global instance to drive a gulp#4.0 project, either install a global gulp-cli#4.0 or use the local gulp.
[00:00:00] Error: Bower components directory does not exist at /home/foo/bar/app/bower_components
    at Error (native)
  • You need to bower i first

Copyright and license

The MIT License

Copyright (c) 2014-2015 Olivier Louvignes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.