hardhat

v2.21.0-dev.0
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
ethereum smart-contracts hardhat blockchain dapps javascript tooling task-runner solidity and 1 more...

lint

pnpm prettier --check && pnpm eslint

test

mocha --recursive "test/**/*.ts" --exit

build

tsc --build --force --incremental .

clean

rimraf builtin-tasks internal types utils *.d.ts *.map *.js build-test tsconfig.tsbuildinfo test/internal/hardhat-network/provider/.hardhat_node_test_cache test/internal/hardhat-network/stack-traces/test-files/artifacts

eslint

eslint 'src/**/*.ts' 'test/**/*.ts'

pretest

cd ../.. && pnpm build

lint:fix

pnpm prettier --write && pnpm eslint --fix

prebuild

cd ../../crates/edr_napi && pnpm build

prettier

prettier "**/*.{js,md,json}"

test:tracing

mocha --recursive "test/internal/hardhat-network/stack-traces/**/*.ts" --exit

build:tracing

tsc --build --force --incremental .

test:provider

mocha --recursive "test/internal/hardhat-network/provider/**/*.ts" --exit

pretest:tracing

cd ../../crates/edr_napi && pnpm build

prebuild:tracing

cd ../../crates/edr_napi && pnpm build:tracing

pretest:provider

cd ../../crates/edr_napi && pnpm build

test:except-tracing

mocha --recursive "test/**/*.ts" --exclude "test/internal/hardhat-network/stack-traces/**/*.ts" --exit

test:except-provider

mocha --recursive "test/**/*.ts" --exclude "test/internal/hardhat-network/provider/**/*.ts" --exit

pretest:except-tracing

cd ../../crates/edr_napi && pnpm build

pretest:except-provider

cd ../../crates/edr_napi && pnpm build

Metadata

  • MIT
  • Whatever
  • Nomic Labs LLC
  • released 2/21/2024

Downloads