Skip to content

Commit

Permalink
Add local pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
evercoinx committed Aug 29, 2024
1 parent 980ca5f commit eaa32b6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run check && npm test
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"description": "MaticX contracts",
"scripts": {
"prepare": "husky",
"format": "npm run prettier-sol && npm run prettier-ts",
"prettier-sol": "prettier --write 'contracts/**/*.sol'",
"prettier-ts": "prettier --write 'scripts/**/*.ts' 'test/**/*.ts'",
Expand All @@ -27,9 +28,6 @@
"url": "https://github.com/stader-labs/maticX/issues"
},
"homepage": "https://github.com/stader-labs/maticX#readme",
"engines": {
"node": "16"
},
"type": "commonjs",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
Expand Down Expand Up @@ -63,6 +61,7 @@
"hardhat": "^2.6.4",
"hardhat-contract-sizer": "^2.5.1",
"hardhat-gas-reporter": "^1.0.8",
"husky": "^9.1.5",
"prettier": "^2.6.2",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solc": "^0.8.2",
Expand Down

0 comments on commit eaa32b6

Please sign in to comment.