Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
build-workflow
Advanced tools
IMPORTANT
If I have to start again, I will probably not choose any build tool but directly embrace the npm as build tool* trend. Grunt has indeed helped me a lot, there are lot of plugins available, it is easy to configure, but it can get really messy for a fairly complex build workflow. And that's the same with gulp or all the other build tools out there.
I still have some fairly complex web projects that use grunt and this module is still great to help me organize them.
For more info on how to use npm as a build tool check:
A module that helps to break a gigantic Gruntfile
into smaller modules that are easy to manage and reason about.
It also provide some tasks, helpers and utilities for common tasks
This module aims to simplify the creation of workflows based on grunt, I know gulp is better :) or webpack or (insert better tool here
)
Since some of the projects I'm working right now are still using grunt, I wanted to have a better way to manage the build
workflows.
This module is inspired by this blog post supercharging your gruntfile
The main differences are:
grunt
object, the pkg
, package.json
parsed objectgrunt-deps/tasks
folder they will be loaded automatically.yaml
, so the aliases for tasks are defined in javascript. This is to keep it simple and avoid
leaving the javascript realm.So, This module will
esbeautifier
) and validate the javascript files with eslint
and jscs
. I have
also make cli tools for beautify and eslinter
you can use them directly if you don't want/plan to use grunt for thatgrunt prepush
will run the same as check-valid
but will not beautify
the files automatically, will just fail if files are not beautified or fail the checki18n.{lang}.js
files from Symfony yml translations files.selection.json
file obtained from a font exported from icomoon appRead it here
FAQs
Simple gruntfile helper to define build workflows
We found that build-workflow 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.