npm pkg delete <key...>
Deletes a key from your package.json
Arguments
Name | Description |
---|
key | Name of the key to delete. You can delete child fields by separating them with a period |
Options
Name | Description |
---|
-w, --workspace <workspace...> | Enable running a command in the context of the configured workspaces of the current project |
-ws, --workspaces | Enable running a command in the context of all the configured workspaces |
-f, --force | |