aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/modules.sh
blob: d357e1b77f53ccdab295591216afe83748d1869f (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env sh

read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r

if [[ "$REPLY" =~ ^[Yy]$ ]]; then
  rm -rf node_modules client/node_modules client/typings/{browser,main}*
fi