diff --git a/packages/protocol/package.json b/packages/protocol/package.json index 8688968c166..52a20892a68 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -8,11 +8,11 @@ "export:docs": "pnpm hardhat docgen && rm -rf ./docs/elin ./docs/test ./docs/thirdparty ./docs/console.md && pnpm prettier --write ./docs/**/*.md", "clean": "rm -rf abis cache && pnpm hardhat clean", "lint:sol": "pnpm prettier '**/*.sol' --write && pnpm solhint 'contracts/**/*.sol' --fix", - "eslint": "pnpm eslint --ignore-path .eslintignore --ext .js,.ts .", - "eslint:fix": "pnpm eslint --ignore-path .eslintignore --ext .js,.ts . --fix", + "eslint": "pnpm exec eslint --ignore-path .eslintignore --ext .js,.ts .", + "eslint:fix": "pnpm exec eslint --ignore-path .eslintignore --ext .js,.ts . --fix", "test": "pnpm hardhat test --grep '^[^integration]'", "coverage": "pnpm hardhat coverage --solcoverjs ./.solcover.js --show-stack-traces", - "test:coverage": "npm run test && npm run coverage", + "test:coverage": "pnpm test && pnpm coverage", "generate:genesis": "ts-node ./utils/generate_genesis/main.ts", "test:genesis": "./test/genesis/generate_genesis.test.sh", "test:integration": "./test/test_integration.sh",