Fixing package.json
Improved behavior; thanks @shinypb.