Gathering detailed insights and metrics for mimosa-build-task
Gathering detailed insights and metrics for mimosa-build-task
Gathering detailed insights and metrics for mimosa-build-task
Gathering detailed insights and metrics for mimosa-build-task
npm install mimosa-build-task
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
4 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Apr 11, 2015
Latest Version
0.2.0
Package Id
mimosa-build-task@0.2.0
Size
3.04 kB
NPM Version
2.7.3
Node Version
0.10.33
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
This module will run a node script or a script of your own during Mimosa's build
process. The initial use case for this module was to start a server during a CI build so tests can be run against it, and this module's default settings support that use case. But this module is flexible enough to run any script you want.
For more information regarding Mimosa, see http://mimosa.io
Add 'build-task'
to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch
or mimosa build
.
During mimosa build
this module will either run node pointed at a file of your choosing (like a server), or anything else using a command you provide. It will also keep track of the processes that your task starts and shut them down if needed. This module runs your task after Mimosa's build packaging steps have completed, and will shut down the processes created by your tasks when the build completes.
1buildTask: { 2 path: "dist/app.js", 3 startWith: null, 4 startedWhen: "server listening" 5}
The defaults all correspond with starting a server as if it has been packaged via mimosa-web-package.
path
stringThe path to a node file to run as your build task. path
is relative to the root of the project. If path
is provided, startWith
cannot also be provided.
startWith
stringThe command to run to start the build task. The command is relative to the root of the project. If startWith
is provided, path
cannot also be provided.
startedWhen
string, number, booleanstartedWhen
indicates when the task has fully completed/started so that it can proceed with the rest of the build. If startedWhen
is a string, then when that string is found in the stdout
/stderr
output of the task being run, this module will proceed with the build. If startedWhen
is a number, then the build will continue after a setTimeout
using that number as the duration. If startedWhen
is set to false
, then the build will continue when the task itself completes. Some tasks are persistent (like a server) in which case a string is optimal. If the task is persistent but there is no output, or the output cannot be relied upon, use the timeout number. If the task ends on its own, set this to false
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
no SAST tool detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
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 More