node.js - Change/ rewrite value in the package.json via the terminal -


i using 'cat package.json' view json file in terminal. because testing different modules, want replace main value can try different files entry point. : "main": "index.js", above rather change index.js via command line.

you can use vim (https://github.com/vim/vim) or nano (https://www.nano-editor.org/).


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -