diff --git a/interface/package.json b/interface/package.json index 7b9fded3..369975db 100644 --- a/interface/package.json +++ b/interface/package.json @@ -24,8 +24,8 @@ "dev": "npx next dev", "build": "npx next build", "start": "pnpm build && npx next start", - "prettier:check": "npx prettier -c **/*.{js,ts,tsx,css,md,json,yml,yaml}", - "prettier:fix": "npx prettier -w **/*.{js,ts,tsx,css,md,json,yml,yaml}", + "prettier:check": "npx prettier -c \"**/*.{js,ts,tsx,css,md,json,yml,yaml}\"", + "prettier:fix": "npx prettier -w \"**/*.{js,ts,tsx,css,md,json,yml,yaml}\"", "lint:check": "pnpm prettier:check && npx next lint", "lint:fix": "pnpm prettier:fix && npx next lint --fix" }, diff --git a/package.json b/package.json index 05566dfe..70f582b1 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test": "forge test --out forge-artifacts", "snapshot": "forge snapshot --out forge-artifacts", "coverage": "forge coverage --report summary", - "coverage:report": "forge coverage --report lcov && lcov --remove lcov.info 'test/*' --output-file lcov.info --rc lcov_branch_coverage=1 && genhtml lcov.info --branch-coverage --output-dir coverage", + "coverage:report": "forge coverage --report lcov && lcov --remove lcov.info \"test/*\" --output-file lcov.info --rc lcov_branch_coverage=1 && genhtml lcov.info --branch-coverage --output-dir coverage", "compile": "npx hardhat compile && forge build --out forge-artifacts", "size": "npx hardhat size-contracts", "abi": "npx hardhat export-abi", @@ -103,15 +103,15 @@ "deploy:artheratestnet": "npx hardhat run --no-compile --network artheraTestnet scripts/deploy.ts", "deploy:frametestnet": "npx hardhat run --no-compile --network frameTestnet scripts/deploy.ts", "deploy:opendurancetestnet": "npx hardhat run --no-compile --network openduranceTestnet scripts/deploy.ts", - "prettier:check": "npx prettier -c **/*.{js,ts,md,sol,json,yml,yaml}", + "prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"", "prettier:check:interface": "cd interface && pnpm prettier:check", - "prettier:fix": "npx prettier -w **/*.{js,ts,md,sol,json,yml,yaml}", + "prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"", "prettier:fix:interface": "cd interface && pnpm prettier:fix", - "solhint:check": "npx solhint -c src/.solhint.json src/**/*.sol && npx solhint -c test/.solhint-tests.json test/**/*.sol", - "solhint:fix": "npx solhint -c src/.solhint.json src/**/*.sol --fix && npx solhint -c test/.solhint-tests.json test/**/*.sol --fix", - "lint:check": "pnpm prettier:check && pnpm solhint:check && npx eslint **/*.{js,ts}", + "solhint:check": "npx solhint -c src/.solhint.json \"src/**/*.sol\" && npx solhint -c test/.solhint-tests.json \"test/**/*.sol\"", + "solhint:fix": "npx solhint -c src/.solhint.json \"src/**/*.sol\" --fix && npx solhint -c test/.solhint-tests.json \"test/**/*.sol\" --fix", + "lint:check": "pnpm prettier:check && pnpm solhint:check && npx eslint \"**/*.{js,ts}\"", "lint:check:interface": "cd interface && pnpm lint:check", - "lint:fix": "pnpm prettier:fix && pnpm solhint:fix && npx eslint **/*.{js,ts} --fix", + "lint:fix": "pnpm prettier:fix && pnpm solhint:fix && npx eslint \"**/*.{js,ts}\" --fix", "lint:fix:interface": "cd interface && pnpm lint:fix", "dev:interface": "cd interface && pnpm dev", "build:interface": "cd interface && pnpm build",