What if to change the package-lock.json file to a hidden file in Linux and Unix?

(Lv Chengbin) #1

We sometimes need to edit the package.json file, the existence of the package-lock.json file troubled me a little because after pressing the “p” and “tab” on the keyboard, I cannot find out the package.json directly, and generally, we don’t need to edit the package-lock.json manually. So why not change it to be a hidden file?