[example] update scripts script
This commit is contained in:
parent
87cb01392a
commit
69b2297280
|
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env shrimp
|
#!/usr/bin/env shrimp
|
||||||
|
|
||||||
if not (fs.exists? 'package.json'):
|
if not fs.exists? 'package.json':
|
||||||
echo '🦐 package.json not found'
|
echo '🦐 package.json not found'
|
||||||
exit 1
|
exit 1
|
||||||
end
|
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
|
package.scripts | dict.keys | list.sort | each do x: echo x end
|
||||||
Loading…
Reference in New Issue
Block a user