Modern Front-End Development for Rails, Second Edition:Page 18

The segment write after that line updates the scripts section of the package.json file – the developer scripts in that file. It could be clearer in the text, sorry for the confusion.