
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
scripts-dev
Advanced tools
This is a small package for doing some task when we are developing node apps. It provides three scrips that we can use in our package.json
Scripts includes:
We install the package with npm command
npm i --save scripts-dev
Add in your package.json file the following lines inside "scripts"
"scripts": {
"start": "app start",
"dev": "app dev",
"build": "app build"
},
If we are working in our maching with the code and we need to run the application for testing the code, we can use the run dev command.
npm run dev
This command execute nodemon with the file in src/index.js.
If we have some file like:
when we run dev command it uses internally two packages, 'dotenv' and 'dotenv-expand', and we will have all enviroment available in our project.
As a mentioned before, we use this package when we use babel in our application. If we are ready for compiling the app, execute the following command:
npm run build
After compiling the app, the script will create a dist folder where, using babel, all files in src folde will be compiling in dist folder.
npm run start
using this command, the app will be started in production mode, using the file in dist/index.js
FAQs
Tools and utilities for node js developmen with babel
The npm package scripts-dev receives a total of 1 weekly downloads. As such, scripts-dev popularity was classified as not popular.
We found that scripts-dev 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.