Skip to content

Commands

Alex O edited this page Sep 3, 2022 · 2 revisions

Scripts in Tails Express have two variations: prod and dev. By default, when you run most of the tasks they're run in dev mode, to specify production scripts just follow the script title with :prod.

npm run build builds all files for development.

npm run watch builds the files for development and starts the local live server.

npm run publish builds all files for production and minifies the output.

npm run rebuild rebuilds all files in the assets folder. (also minifies if rebuild:prod is called)

To list all available scripts in your terminal just run npm run.

Clone this wiki locally