Reveal package-lock.json

Hi, I want to view the lock file of the project which glitch unfortunately does not reveal in the editor. Is there a way to do so?

I suppose you could view it in the terminal:

$ cat package-lock.json
2 Likes

Yeah, that seems to be possible. But can I reveal it in the editor anyhow?

try this.

  • create a file called .gitignore (if it does not exist)

  • add the following line to the file:

    !package-lock.json
    
  • open the terminal and run refresh!

3 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.