gr

generate-requirejs

generate a requirejs config including bower dependencies

Showing:

Popularity

Downloads/wk

1

GitHub Stars

0

Maintenance

Last Commit

8yrs ago

Contributors

1

Package

Dependencies

5

License

BSD-2-Clause

Type Definitions

Tree-Shakeable

No?

Categories

Readme

generate-requirejs.js

Adds a list of your current bower dependencies to your requirejs config file.

install

With npm do:

npm install alexaivars/generate-requirejs

usage

This package also ships with a generate-requirejs command.

Usage: generate-requirejs config.js

If the config file does not exists, one will be created.

General options:
  -h, --help           # Print options and usage
  -v, --version        # Print the version number
    -o, --out            # Output result to file

bower modules

generate-requirejs will merge requirejs configs defined in a components bower.json

bower.json

{
  "name": "component",
  "main": "index.js",
  "description": "a component",
    "requirejs": {
    "config": "config.js"
  }
}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial