Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / .nodehawkrc
Schema registry

.nodehawkrc

.nodehawkrc configuration files

.nodehawkrc

Check your file against this schema

Opens the validator with this schema already loaded. Paste your .nodehawkrc and it validates in your browser — nothing is uploaded.

Validate a .nodehawkrc → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
pathsoneOfA string or an array of paths to watch. Supports globbing.
default: "./src"
rootstringThe root path from which all other paths will be resolved.
default: "."
ignoredstringPaths, globs or regular expressions to ignore.
default: ""
execrequiredstringThe command to execute on file change.
default: ""
portintegerThe port on which the server should run. This is passed to your application as `process.env.PORT` which should be used by you.
default: 4000
logLevelintegerThe level of logging. 0 - fatal, 1 - error, 2 - warning, 3 - info, 4 - debug
default: 3
bufferintegerThe buffer duration to wait before triggering a restart.
default: 1500
bufferPollintegerThe buffer polling interval to check for the file stability.
default: 100
displayobjectThe various messages to display during different events.
display.onBeforeStartstringThe message to display before the watcher starts.
default: "Starting..."
display.onStartstringThe message to display after the watcher starts.
default: "Started"
display.onBeforeRestartstringThe message to display before the watcher restarts.
default: "Restarting..."
display.onRestartstringThe message to display after the watcher restarts.
default: "Restarted"
display.onBeforeStopstringThe message to display before the watcher stops.
default: "Stopping..."
clearScreenbooleanClear the screen on start and on every restart.
default: true
envobjectA set of key-value pairs which will be promptly passed on to your process and accessible via `process.env`.
default: {}

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
examplesJSON Schema Validation, draft 2020-12§9.5 — "examples"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
oneOfJSON Schema Core, draft 2020-12§10.2.1.3 — "oneOf"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas