In the "Name" search box, type Apple and select "Run AppleScript".
Double-click "Run AppleScript"
Replace (* Your script goes here *) with the following code:
on run {input, parameters}
tell application "Terminal"
activate
do script with command "cd /Users/dan/Websites/focalpoint-multi-cropper && npm run start"
end tell
return input
end run
(* Your script goes here *)
with the following code:See https://apple.stackexchange.com/a/99437