Skip to content

Commit

Permalink
🔨 scripts: replace npm-run-all with concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Oct 27, 2023
1 parent 903cf8a commit c64efc8
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 110 deletions.
4 changes: 2 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ revert_strings = "strip"

ffi = true
src = "test"
out = "artifacts/.foundry"
out = "artifacts/foundry"
script = "scripts"
cache_path = "cache/.foundry"
cache_path = "cache/foundry"
fs_permissions = [{ access = "read", path = "./deployments" }]
verbosity = 3

Expand Down
1 change: 1 addition & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ export default {
},
},
},
paths: { artifacts: "artifacts/hardhat" },
dodoc: { exclude: ["mocks/", "k/", "elin/", "rc/"] },
tenderly: { project: "exactly", username: "exactly", privateVerification: false },
typechain: { outDir: "types", target: "ethers-v5" },
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
"homepage": "https://exact.ly",
"repository": "github:exactly/protocol",
"scripts": {
"lint": "run-s --continue-on-error lint:**",
"lint": "concurrently 'npm:lint:*' --group -c auto",
"lint:sol": "solhint '{contracts,scripts,test}/**/*.sol'",
"lint:ts": "tsc",
"lint:es": "eslint --ext .ts,.js,.cjs,.mjs .",
"fix:sol": "prettier -w '{contracts,scripts,test}/**/*.sol'",
"compile": "hardhat compile",
"snapshot": "forge snapshot --no-match-test testFuzz",
"test": "run-s --continue-on-error test:**",
"test": "concurrently 'npm:test:*' --kill-others-on-fail --group -c auto",
"test:foundry": "forge test",
"test:hardhat": "hardhat test --deploy-fixture",
"coverage": "run-s coverage:**",
"coverage": "concurrently 'npm:coverage:*' --kill-others-on-fail --group -c auto",
"coverage:foundry": "forge coverage --report lcov",
"coverage:hardhat": "hardhat coverage",
"coverage:foundry:snapshot": "forge snapshot --no-match-test testFuzz --check",
"coverage:foundry:fuzzer": "FOUNDRY_PROFILE=production forge test --match-test testFuzz",
"coverage:snapshot": "forge snapshot --no-match-test testFuzz --check",
"coverage:fuzzer": "FOUNDRY_PROFILE=production forge test --match-test testFuzz",
"deploy:ethereum": "hardhat --network ethereum deploy",
"deploy:goerli": "hardhat --network goerli deploy",
"postinstall": "run-s --continue-on-error postinstall:** || cd .",
"postinstall": "concurrently 'npm:postinstall:*' --group -c auto",
"postinstall:foundry": "forge install",
"postinstall:hardhat": "hardhat compile --force"
},
Expand Down Expand Up @@ -63,6 +63,7 @@
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"chai": "^4.3.7",
"concurrently": "^8.2.2",
"dotenv": "^16.0.3",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.7.0",
Expand All @@ -81,7 +82,6 @@
"hardhat-deploy": "^0.11.25",
"hardhat-gas-reporter": "^1.0.9",
"merkletreejs": "^0.3.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.4.1",
Expand Down
Loading

0 comments on commit c64efc8

Please sign in to comment.