Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@shoutem/cli
Advanced tools
Shoutem CLI is a command line tool which helps you build Shoutem extensions.
You can read more about CLI in our documentation
For local development there are three ways of approaching this:
npm i
inside repositorynode path/to/build/shoutem.js <command>
, where <command>
is the command you're testingAfter making changes to the code, you can run rm -rf build && npm run build
to recompile and then continue using step 2 described above.
While messy and harder to keep track of changes (since you can't see the diff directly), this has proven effective. You can make changes in your global node_modules
directory on your machine in the src
directory, then re-build the CLI using npm run build
within the cli
directory (where the package.json is).
Prerequisites:
package.json
edited in such a way that the prepare
script is replaced with a preinstall
scriptYou can see the changes you've made with your code and how they affect the CLI by using npm i -g shoutem/cli#<commit_hash>
, e.g.:
npm i -g shoutem/cli#6874qbr
This can also be used for testing before release, unlike the other two methods.
NOTE: Once a release is ready, make sure to turn the preinstall script back into a prepare script as users may not have babel-cli installed.
FAQs
Command-line tools for Shoutem applications
The npm package @shoutem/cli receives a total of 15 weekly downloads. As such, @shoutem/cli popularity was classified as not popular.
We found that @shoutem/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.