From 134cd5a75fcf3e78feac5762985d09658404735e Mon Sep 17 00:00:00 2001 From: d1onys1us Date: Tue, 15 Nov 2022 00:48:25 -0500 Subject: [PATCH] fix(pnpm): conflict with eslint command and use pnpm instead of npm (#273) --- packages/protocol/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",