irongit
11 lines168 B
1#!/bin/bash
2
3cd rango/frontend
4
5# if there is no argument, run the npm dev server
6# else npm run the command
7if [ -z "$1" ]; then
8 npm run dev
9else
10 npm run $1
11fi