
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
generator-callum
Advanced tools
The Yeoman generator written and used by Callum Macrae (callumacrae) in front-end projects.
The Yeoman generator written and used by Callum Macrae (callumacrae) in front-end projects. Now with added Gulp!
To install, globally install the npm package (you may need to use sudo):
npm install -g generator-callum
Make a new directory and cd
into it:
mkdir my-amazing-project && cd $_
Then run the yo command:
yo callum
Setup will run, magic will happen. Gulp plugins and Bower packages will be automatically installed.
On setup, this generator will do the following:
The generated project by default offers the following features:
grunt bower
or grunt build
to add plugins to RequireJS automatically)DEBUG
constant! Debug code will be automatically removed from production.After installation (yo callum
), you can start developing right away. However, you can use gulp and bower to do magic.
Bower is a JavaScript package manager, and is installed by Yeoman automatically (so, you already have it installed). You can view a list of all packages here, or you can use bower search
. To install a package:
bower install --save <package>
# Or:
bower install --save <package>#<version>
See the bower homepage for a list of all commands and more help.
More specific to this project, if BRBgrunt watchers
is running then bower plugins will be automatically added to your RequireJS build file. Otherwise, run grunt bower
to add them (or just manually add them to the build file).
Gulp is a JavaScript task runner. It's like Grunt, but better. You can use the following commands to do the following tasks:
gulp lint
will validate your HTML, CSS, LESS and JS.gulp build
will parse your LESS, but not your JS yet.gulp browser-sync
will run browser-sync. Awesome.gulp bower
doesn't exist, but will add bower libraries that haven't been added yet to the build file.gulp
will do all of the above, plus it will watch your LESS files for changes!Copyright © Callum Macrae 2013 Licensed under the MIT license.
FAQs
The Yeoman generator written and used by Callum Macrae (callumacrae) in front-end projects.
We found that generator-callum demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.