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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -