![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
generator-firestarter
Advanced tools
A Yeoman generator to help kickstart Angular SPA with a Gulp build script.
Firestarter has 3 parts:
gulp
build script for optimization things just like I like them for new Angular SPAs.As a pre-requisite, yeoman
is required and if you don't already, install it globally:
npm install -g yo
If you'd like to get to know Yeoman better and meet some of his friends, Gulp and Bower, check out the complete Getting Started Guide.
To install the firestarter
generator, from your terminal, run:
npm install -g generator-firestarter
If you're wanting to contribute to development of this package, you can alternatively install it like so:
git clone https://github.com/CWSpear/firestarter.git firestarter
cd firestarter
npm link
npm link
will link this local package to your global npm
packages.
Finally, initiate the generator:
yo firestarter
npm install
bower install
gulp
gulp production
# aliases for the same thing
gulp build
gulp prod
gulp
# aliases for the same thing
gulp dev
gulp development
# just add the --watch flag to any command
gulp [production] --watch
gulp serve [--port="port"] # just serves the app
# or
gulp --serve[="port"] # runs dev task + serves (define optional port)
# (--port flag overrides --serve flag)
This particular project was built with an AngularJS Single Page Application (SPA), and these tasks are built with that goal in mind:
scss
→ css
(minifies if using production task)autoprefixer
on compiled css
babeljs
js
and revisions files (for cachebusting)bower
components (both js
and css
) (resolving dependencies to determine order)gulp-plumber
to make sure watch
doesn't break everythingComing Eventually...
babeljs
, as well as clean up various little things. (Removed undocumented, rarely used --install
flag support.)gulp-angular-filesorter
to make it automatically resolve Angular module order instead of relying on knowing exactly where module definitions are. This fixed a bug where you'd sometimes get errors about trying to access undefined modules because Firestarter wasn't looking for app.js (or other files that define modules) in the correct place.MIT
FAQs
A Yeoman generator to help kickstart Angular SPA with a Gulp build script.
The npm package generator-firestarter receives a total of 11 weekly downloads. As such, generator-firestarter popularity was classified as not popular.
We found that generator-firestarter 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.