diff --git a/examples/scripts.sh b/examples/scripts.sh index ef4cc81..5c820c3 100644 --- a/examples/scripts.sh +++ b/examples/scripts.sh @@ -1,9 +1,9 @@ #!/usr/bin/env shrimp -if not (fs.exists? 'package.json'): +if not fs.exists? 'package.json': echo '🦐 package.json not found' exit 1 end -package = fs.read 'package.json' | json.decode +package = fs.read 'package.json' | json.decode package.scripts | dict.keys | list.sort | each do x: echo x end \ No newline at end of file