
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
mojito-shaker
Advanced tools
Shaker is a powerful static asset manager for Mojito applications. It gives users absolute control in transforming, validating, uploading, organizing, and combining resources in order to maximize performance and build dynamic applications.
For more information, please see the online documentation.
Shaker can be installed either locally or globally (using -g option), but we encourage you to install it locally, since the reference to the inner mojits will be relative to the app.
Get the mojito-shaker npm package and install it:
$ cd myMojitoApp
$ npm install mojito-shaker [-g]
If you installed it locally you will have to link it:
$ cd ./node_modules/mojito-shaker/ && sudo npm link
Confirm that Shaker has been installed correctly by running:
$ mojito-shake
If you got some error, check if you have correctly configured the Node environment. You can try to set the right $NODE_PATH to the modules using:
$ export NODE_PATH=:$NODE_PATH:`npm root -g`
Within a Mojito application root folder:
Edit application.json to configure the mojitDirs and the HTMLFrame so that it looks like:
[
{
"settings": [ "master" ],
"mojitsDirs": ["mojits","node_modules/mojito-shaker/mojits"],
"specs": {
"htmlframe": {
"type": "ShakerHTMLFrameMojit"
}
}
}
]
Note: If you installed mojito-shaker
globally you will have to point to the absolute path instead.
Execute Shaker and Start the server:
$ mojito-shake [--context "{key1}:{value1}[,{key2}:{value2}]"] [--run]
$ mojito start [--context "{key1}:{value1}[,{key2}:{value2}]"]
Go to URL:
http://localhost:8666/
You can access the documentation here: http://developer.yahoo.com/cocktails/shaker
If you want to build and contribute to the documentation, you will have to install Sphinx and under /docs
run:
$ make html
Shaker is licensed under a BSD license.
To contribute to the Shaker project, please review the Mojito Contributor License Agreement.
gear, async, mkdirp, mime, and optionally knox to use the S3 task.
The following image is used in accordance with the Creative Commons 2.0 License:
FAQs
Compiles and deploys asset rollups for Mojito applications.
The npm package mojito-shaker receives a total of 63 weekly downloads. As such, mojito-shaker popularity was classified as not popular.
We found that mojito-shaker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.