Gathering detailed insights and metrics for jaybe78-nodemon-webpack-plugin
Gathering detailed insights and metrics for jaybe78-nodemon-webpack-plugin
Gathering detailed insights and metrics for jaybe78-nodemon-webpack-plugin
Gathering detailed insights and metrics for jaybe78-nodemon-webpack-plugin
A webpack plugin that uses Nodemon to start and reload the server.
npm install jaybe78-nodemon-webpack-plugin
Typescript
Module System
Min. Node Version
Node Version
NPM Version
43.4
Supply Chain
49.9
Quality
63.6
Maintenance
50
Vulnerability
95.4
License
JavaScript (85.13%)
Gherkin (14.02%)
Shell (0.85%)
Total Downloads
1,247
Last Day
1
Last Week
4
Last Month
16
Last Year
88
MIT License
183 Stars
268 Commits
22 Forks
4 Watchers
3 Branches
9 Contributors
Updated on Dec 23, 2024
Minified
Minified + Gzipped
Latest Version
0.0.2
Package Id
jaybe78-nodemon-webpack-plugin@0.0.2
Unpacked Size
247.36 kB
Size
66.78 kB
File Count
14
NPM Version
6.4.1
Node Version
8.12.0
Cumulative downloads
Total Downloads
Uses Nodemon to watch and restart your module's output file, but only when webpack is in watch mode (ie, --watch
).
Saves the need for installing, configuring and running Nodemon as a seperate process.
1# Webpack 4: 2npm install nodemon-webpack-plugin@next --save-dev 3 4# Webpack 3 or 2: 5npm install nodemon-webpack-plugin --save-dev
1const NodemonPlugin = require( 'nodemon-webpack-plugin' ) // Ding 2 3module.exports = { 4 entry: './src/server.js', 5 output: { 6 path: path.resolve('./dist'), 7 filename: 'server.js', 8 }, 9 plugins: [ 10 new NodemonPlugin(), // Dong 11 ], 12}
Then:
1$ webpack --watch
1new NodemonPlugin()
Only watches the output file.
Allows a Nodemon config object to override and extend the default config:
1{ 2 script: outputFile, 3 watch: outputFile, 4}
For example:
1new NodemonPlugin({ 2 /// Arguments to pass to the script being watched. 3 args: ['demo'], 4 5 // What to watch. 6 watch: path.resolve('./dist'), 7 8 // Files to ignore. 9 ignore: ['*.js.map'], 10 11 // Detailed log. 12 verbose: true, 13 14 // Node arguments. 15 nodeArgs: [ '--debug=9222' ] 16 17 // If using more than one entry, you can specify 18 // which output file will be restarted. 19 script: './dist/server.js' 20 21 // Extensions to watch 22 ext: 'js,njk,json' 23})
1Hash: 366cbbbab13237b29593 2Version: webpack 3.4.1 3Time: 50ms 4 Asset Size Chunks Chunk Names 5server.js 3.17 kB 0 [emitted] main 6 [0] ./test/server.js 388 bytes {0} [built] 7 + 3 hidden modules 8[nodemon] restarting due to changes... 9[nodemon] starting `node test/dist/server.js`
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
Found 1/4 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
0%
1
Compared to previous day
Last Week
-20%
4
Compared to previous week
Last Month
45.5%
16
Compared to previous month
Last Year
25.7%
88
Compared to previous year