'How to update a property in package.json?

Im editing a package.json file: codetour its a vscode extension

I deleted the key "enablement": "!commentIsEmpty", my goal was to enable the button even when there's no comment

after compiling the extension the button remains disabled

I also tried to change the title to confirm it really was changing something

      {
        "command": "codetour.addTourStep",
        "title": "Test",
      },

then compiled, and the title also remains the same.

I also tried calling again after editing the file: npm update, npm install package.json and still same.

Do i need to modify anything else after editing a package.json file?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source