<!doctype html><htmllang=en-us><head><metacharset=utf-8><metahttp-equiv=x-ua-compatiblecontent="ie=edge"><metaname=viewportcontent="width=device-width,initial-scale=1,shrink-to-fit=no"><linkrel=preloadas=fonthref=/fonts/vendor/jost/jost-v4-latin-regular.woff2type=font/woff2crossorigin><linkrel=preloadas=fonthref=/fonts/vendor/jost/jost-v4-latin-700.woff2type=font/woff2crossorigin><linkrel=stylesheethref=/main.0795b139a9cfb98e53f63a199a82c50f5de397994a745bf310faf3e391fa60c6261c021d004e40236c54585f2192a5ebf93cfe8175d8df4bb962b714c088fec2.cssintegrity="sha512-B5WxOanPuY5T9joZmoLFD13jl5lKdFvzEPrz45H6YMYmHAIdAE5AI2xUWF8hkqXr+Tz+gXXY30u5YrcUwIj+wg=="crossorigin=anonymous><noscript><style>img.lazyload{display:none}</style></noscript><metaname=robotscontent="index, follow"><metaname=googlebotcontent="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><metaname=bingbotcontent="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><title>Commands - mCaptcha</title><metaname=descriptioncontent="Doks comes with commands for common tasks."><linkrel=canonicalhref=/docs/prologue/commands/><metaname=twitter:cardcontent="summary_large_image"><metaname=twitter:imagecontent="/doks.png"><metaname=twitter:titlecontent="Commands"><metaname=twitter:descriptioncontent="Doks comes with commands for common tasks."><metaname=twitter:sitecontent="@"><metaname=twitter:creatorcontent="@"><metaproperty="og:title"content="Commands"><metaproperty="og:description"content="Doks comes with commands for common tasks."><metaproperty="og:type"content="article"><metaproperty="og:url"content="/docs/prologue/commands/"><metaproperty="og:image"content="/doks.png"><metaproperty="article:published_time"content="2020-10-13T15:21:01+02:00"><metaproperty="article:modified_time"content="2020-10-13T15:21:01+02:00"><metaproperty="og:site_name"content="mCaptcha"><metaproperty="article:publisher"content="https://www.facebook.com/"><metaproperty="article:author"content="https://www.facebook.com/"><metaproperty="og:locale"content="en_US"><scripttype=application/ld+json>{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"\/"},{"@type":"ListItem","position":2,"name":"Docsprologuecommands","item":"\/docsprologuecommands\/"}]}</script><metaname=theme-colorcontent="#fff"><linkrel=apple-touch-iconsizes=180x180href=/apple-touch-icon.png><linkrel=icontype=image/pngsizes=32x32href=/favicon-32x32.png><linkrel=icontype=image/pngsizes=16x16href=/favicon-16x16.png><linkrel=manifesthref=/site.webmanifest></head><bodyclass="docs single"><divclass="header-bar fixed-top"></div><headerclass="navbar fixed-top navbar-expand-md navbar-light"><divclass=container><inputclass="menu-btn order-0"type=checkboxid=menu-btn>
</code></pre></div><h2id=lint>lint<ahref=#lintclass=anchoraria-hidden=true>#</a></h2><p>Check scripts, styles, and markdown for errors:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run lint"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run lint
</code></pre></div><h3id=scripts>scripts<ahref=#scriptsclass=anchoraria-hidden=true>#</a></h3><p>Check scripts for errors:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run lint:scripts"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run lint:scripts <spanclass=o>[</span>-- --fix<spanclass=o>]</span>
</code></pre></div><h3id=styles>styles<ahref=#stylesclass=anchoraria-hidden=true>#</a></h3><p>Check styles for errors:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run lint:styles"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run lint:styles <spanclass=o>[</span>-- --fix<spanclass=o>]</span>
</code></pre></div><h3id=markdown>markdown<ahref=#markdownclass=anchoraria-hidden=true>#</a></h3><p>Check markdown for errors:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run lint:markdown"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run lint:markdown <spanclass=o>[</span>-- --fix<spanclass=o>]</span>
</code></pre></div><h2id=clean>clean<ahref=#cleanclass=anchoraria-hidden=true>#</a></h2><p>Delete temporary directories:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run clean"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run clean
</code></pre></div><h2id=build>build<ahref=#buildclass=anchoraria-hidden=true>#</a></h2><p>Build production website:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run build"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run build
</code></pre></div><h3id=functions>functions<ahref=#functionsclass=anchoraria-hidden=true>#</a></h3><p>Build Lambda functions:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run build:functions"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run build:functions
</code></pre></div><h3id=preview>preview<ahref=#previewclass=anchoraria-hidden=true>#</a></h3><p>Build production website including draft and future content:</p><buttonclass="btn-clipboard btn btn-sm btn-link"data-clipboard-text="npm run build:preview"><spanclass=copy-status></span></button><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>npm run build:preview