Use tilde syntax for array slice in package.json