73 lines
2.9 KiB
JSON
73 lines
2.9 KiB
JSON
{
|
|
"name": "p2pix-smart-contracts",
|
|
"version": "2.0.0",
|
|
"description": "Repository for P2Pix EVM contracts to be imported by the project.",
|
|
"homepage": "https://github.com/doiim/p2pix-smart-contracts#readme",
|
|
"author": "Filipe Soccol (doiim)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/doiim/p2pix-smart-contracts/issues"
|
|
},
|
|
"scripts": {
|
|
"clean": "hardhat clean",
|
|
"compile": "hardhat compile",
|
|
"typechain": "hardhat typechain",
|
|
"test": "hardhat test",
|
|
"deploy1:localhost": "hardhat run scripts/1-deploy-mockToken.ts --network localhost",
|
|
"deploy2:localhost": "hardhat run scripts/2-deploy-p2pix.ts --network localhost",
|
|
"deploy1:goerli": "hardhat run scripts/1-deploy-mockToken.ts --network goerli",
|
|
"deploy2:goerli": "hardhat run scripts/2-deploy-p2pix.ts --network goerli",
|
|
"deploy1:mumbai": "hardhat run scripts/1-deploy-mockToken.ts --network polygon-mumbai",
|
|
"deploy2:mumbai": "hardhat run scripts/2-deploy-p2pix.ts --network polygon-mumbai",
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
|
|
"lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
|
|
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
|
|
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts,yaml,yml}\"",
|
|
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts,yaml,yml}\""
|
|
},
|
|
"devDependencies": {
|
|
"@ethersproject/abi": "^5.8.0",
|
|
"@ethersproject/providers": "^5.8.0",
|
|
"@nomicfoundation/hardhat-chai-matchers": "^2.1.0",
|
|
"@nomicfoundation/hardhat-ethers": "^3.1.0",
|
|
"@nomicfoundation/hardhat-ignition": "^0.15.13",
|
|
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.14",
|
|
"@nomicfoundation/hardhat-network-helpers": "^1.1.0",
|
|
"@nomicfoundation/hardhat-toolbox": "^6.1.0",
|
|
"@nomicfoundation/hardhat-verify": "^2.1.0",
|
|
"@nomicfoundation/hardhat-viem": "^2.1.0",
|
|
"@nomicfoundation/ignition-core": "^0.15.13",
|
|
"@typechain/ethers-v6": "^0.5.1",
|
|
"@typechain/hardhat": "^9.1.0",
|
|
"@types/chai": "^4.3.20",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "^24.1.0",
|
|
"chai": "4.5.0",
|
|
"dotenv": "^16.6.1",
|
|
"eslint": "^9.32.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"ethers": "^6.15.0",
|
|
"hardhat": "^2.26.1",
|
|
"hardhat-contract-sizer": "^2.10.0",
|
|
"hardhat-gas-reporter": "^2.3.0",
|
|
"keccak256": "^1.0.6",
|
|
"lodash": "^4.17.21",
|
|
"merkletreejs": "^0.5.2",
|
|
"mocha": "^10.8.2",
|
|
"solidity-coverage": "^0.8.16",
|
|
"solidity-docgen": "^0.6.0-beta.36",
|
|
"ts-node": "^10.9.2",
|
|
"typechain": "^8.3.2",
|
|
"typescript": "^5.8.3",
|
|
"viem": "^2.33.1"
|
|
},
|
|
"files": [
|
|
"/contracts"
|
|
],
|
|
"packageManager": "yarn@4.9.2",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|