UNPKG

1.3 kBMarkdownView Raw
1## Misk CLI
2
3![](https://raw.githubusercontent.com/square/misk/master/misk.png)
4This package provides the Misk CLI tool that generates build files for Misk Tabs.
5
6## Getting Started
7
8```bash
9$ npm install -g @misk/cli
10```
11
12## Commands
13
14```Bash
15miskweb <command> [opts]
16
17Commands:
18 miskweb build run a fast webpack development build
19 miskweb ci-build npm install, then clean webpack production build
20 miskweb clean remove lib directory and other temporary files
21 miskweb install install node_modules dependencies
22 miskweb lint use prettier to lint all files
23 miskweb new create a new tab in the current directory
24 miskweb prebuild consume miskTab.json and write necessary build files
25 miskweb start start webpack development server for live editing
26 miskweb update update miskweb CLI
27 miskweb zip zip source code for tab
28
29Options:
30 -e, --each run command in all subdirectories that have miskTab.json [boolean]
31 --help Show help [boolean]
32 --version Show version number [boolean]
33```
34
35## [Releasing](https://github.com/square/misk-web/blob/master/RELEASING.md)
36
37## [Changelog (and Breaking Changes)](https://github.com/square/misk-web/blob/master/CHANGELOG.md)