-
Notifications
You must be signed in to change notification settings - Fork 1
NPM Commands
Alex O edited this page Mar 9, 2023
·
1 revision
Tails Express includes a couple of basic NPM commands available for running the project.
You can run them via NPM by typing npm run [command] or via Gulp by typing gulp [command]
| NPM command | Gulp Alternative | Description |
|---|---|---|
| watch | gulp watch --mode=dev | Rebuilds the assets, compiles the project for development and turns on watcher |
| watch:prod | gulp watch --mode=prod | Rebuilds the assets, compiles the project for production and turns on watcher |
| build | gulp build --mode=dev | Rebuilds the assets, compiles the project for development |
| build:prod | gulp build --mode=prod | Rebuilds the assets, compiles the project for production |
| min | gulp min | Minifies html/css/js/assets |
| publish | gulp publish --mode=prod | Builds the project for production and runs gulp min |
For additions and improvements, please visit Discussions tab. Any help is appreciated!