diff --git a/package.json b/package.json index facf1010fd..624976f62a 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,7 @@ "npmClient": "yarn", "license": "MIT", "scripts": { - "prepare": "yarn git:submodule:init", - "git:submodule:init": "git submodule update --init --recursive", - "git:submodule:update": "git submodule update --recursive", - "git:submodule:sync": "git submodule update --remote --recursive;git submodule sync --recursive", - "git:submodule:deinit": "git submodule deinit --all --force", + "postinstall": "yarn git-submodule:init && husky install", "lint": "run-s lint:*", "lint:shellcheck": "tasks/shellcheck-all-tasks.sh", "lint:workspaces": "yarn workspaces run lint", @@ -23,17 +19,20 @@ "build-for-contracts-dev": "set -ex;for i in metadata ethereum-contracts js-sdk;do yarn workspace @superfluid-finance/$i build;done", "clean": "rm -rf node_modules; rm -rf packages/*/node_modules; yarn workspace @superfluid-finance/ethereum-contracts clean", "test": "set -ex;for i in ethereum-contracts;do yarn workspace @superfluid-finance/$i test;done", - "manage-versions": "lerna version --exact --no-git-tag-version --preid rc", - "check-updates": "run-s check-updates:*", - "check-updates:root": "ncu --target minor --dep dev -u", - "check-updates:workspaces": "yarn workspaces run check-updates -u", "show-versions": "lerna ls --long", - "postinstall": "husky install", "pre-commit": "yarn lint:shellcheck && yarn workspaces run pre-commit", + "git-submodule:init": "git submodule update --init --recursive", + "git-submodule:update": "git submodule update --recursive", + "git-submodule:sync": "git submodule update --remote --recursive;git submodule sync --recursive", + "git-submodule:deinit": "git submodule deinit --all --force", + "check-updates": "run-s check-updates:*", + "check-updates:root": "ncu --target minor --dep dev", + "check-updates:workspaces": "yarn workspaces run check-updates", "shell": "nix develop", "shell:spec": "nix develop .#spec", "shell:whitehat": "nix develop .#whitehat", - "shell:full": "nix develop .#full" + "shell:full": "nix develop .#full", + "manage-versions": "lerna version --exact --no-git-tag-version --preid rc" }, "devDependencies": { "@nomicfoundation/hardhat-chai-matchers": "^1.0.6",