Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Performs build workflow for hof apps in prod and development
Run a build by running hof-build
from the command line in your project directory.
hof build [task]
If no task is specified then all tasks will run.
It is recommended to alias hof-build
to an npm script in your package.json.
browserify
- compiles client-side js with browserifysass
- compiles sassimages
- copies images from ./assets/images directory to ./public/imagestranslate
- compiles translation filesYou can additionally run a watch
task to start a server instance, which will automatically restart based on changes to files. This will also re-perform the tasks above when relevant files change.
The default settings will match those for an app generated using hof-generator
. To override any of the configuration settings you can define a path to a local config file, which will be merged with the default configuration
hof-build --config /path/to/my/config.js
Any task can be disabled by setting its configuration to false
(or any falsy value).
module.exports = {
browserify: false
};
Each task has a common configuration format with the following options:
src
- defines the input file or files for the build taskout
- defines the output location of the built code where relevantmatch
- defines the pattern for files to watch to trigger a rebuilt of this taskrestart
- defines if this task should result in a server restartAdditionally the server instance created by watch
can be configured by setting server
config. Available options are:
cmd
- defines the command used to start the serverextensions
- defines the file extensions which will be watched to trigger a restartFAQs
Performs build workflow for hof apps in prod and development
The npm package hof-build receives a total of 1 weekly downloads. As such, hof-build popularity was classified as not popular.
We found that hof-build demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.