From aa4db1493ed9f529d87db9757eb426ec27d9a613 Mon Sep 17 00:00:00 2001 From: Simon Emanuel Schmid Date: Thu, 5 Dec 2024 19:42:38 +0100 Subject: [PATCH] Add global lint command & happy path compile --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b9a8b0b25a..8ad90f1dc1 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "scripts": { "account": "yarn hardhat:account", "chain": "yarn hardhat:chain", + "compile": "yarn hardhat:compile", "deploy": "yarn hardhat:deploy", "fork": "yarn hardhat:fork", "format": "yarn next:format && yarn hardhat:format", @@ -25,10 +26,11 @@ "hardhat:format": "yarn workspace @se-2/hardhat format", "hardhat:generate": "yarn workspace @se-2/hardhat generate", "hardhat:hardhat-verify": "yarn workspace @se-2/hardhat hardhat-verify", - "hardhat:lint-staged": "yarn workspace @se-2/hardhat lint-staged", "hardhat:lint": "yarn workspace @se-2/hardhat lint", + "hardhat:lint-staged": "yarn workspace @se-2/hardhat lint-staged", "hardhat:test": "yarn workspace @se-2/hardhat test", "hardhat:verify": "yarn workspace @se-2/hardhat verify", + "lint": "yarn nextjs:lint && yarn hardhat:lint", "next:build": "yarn workspace @se-2/nextjs build", "next:check-types": "yarn workspace @se-2/nextjs check-types", "next:format": "yarn workspace @se-2/nextjs format", @@ -38,8 +40,8 @@ "precommit": "lint-staged", "start": "yarn workspace @se-2/nextjs dev", "test": "yarn hardhat:test", - "vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo", "vercel": "yarn workspace @se-2/nextjs vercel", + "vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo", "verify": "yarn hardhat:verify" }, "packageManager": "yarn@3.2.3",