Misk-Web CLI Build Tool
npm install @misk/cli
This package provides the Misk CLI tool that generates build files for Misk Tabs.
``bash`
$ npm install -g @misk/cli
`Bash
Misk Web CLI Usage: $ miskweb
Commands:
miskweb auto-pin [filename] auto-pin searches upstream for a
[filename] (default:
master-dependencies.json) and uses the
pinned version in key miskWebNPM for all
tab Misk Web dependencies
miskweb build run a fast Webpack development build
miskweb ci-build npm install, then Webpack production
build, tests
miskweb clean remove lib directory and other temporary
files
miskweb install install node_modules dependencies
miskweb lint use prettier to lint all files
miskweb misk generate multibindings to configure tab
with a Misk service
miskweb new
tab, surround with quotes (ex. "Alpha
Bravo")
surround with quotes (ex. "alpha-bravo")
miskweb path
served in browser. Provides support for a
non-Misk Admin Dashboard tab that is a
dedicated Misk Web front end
miskweb pin
dependencies
version. All Misk-Web dependencies in your
tab will use this version in package.json
miskweb prebuild use miskTab.json to generate build files
miskweb start start Webpack Dev Server for live editing
miskweb tabs prints path of all downstream tabs
miskweb test-coverage generate test coverage report
miskweb test-update update test snapshots
miskweb test run tests
miskweb update update Misk Web CLI
miskweb zip zip source code for tab
Options:
-e, --each run command in all subdirectories that have miskTab.json [boolean]
--help Show help [boolean]
--version Show version number [boolean]
``