diff --git a/package.json b/package.json index fe3273a9..a5f0c26b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "GPL-3.0", "repository": "https://github.com/bitwarden/web", "scripts": { - "sub:init": "git -c protocol.version=2 submodule update --init --force --depth=1 --recursive", + "sub:init": "git submodule sync --recursive; git -c protocol.version=2 submodule update --init --force --depth=1 --recursive", "sub:update": "git submodule update --remote", "sub:pull": "git submodule foreach git pull origin master", "preinstall": "npm run sub:init",