[example] update scripts script

This commit is contained in:
Chris Wanstrath 2025-12-10 13:41:13 -08:00
parent 87cb01392a
commit 69b2297280

View File

@ -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