Files
foundry-template/package.json
Paul Razvan Berg 6d027d098b refactor: substitute "forge fmt" for "prettier-plugin-solidity"
build: remove "prettier-plugin-solidity" and "solhint-plugin-prettier" deps
chore: add "fmt" configuration in Foundry config
chore: delete solidity override from Prettier rules
chore: delete solidity rules from Solhint config
chore: modify scripts to run Prettier on all files except "*.sol"
test: document "setUp" function
2023-01-03 21:18:14 +02:00

43 lines
1.1 KiB
JSON

{
"name": "@prb/foundry-template",
"description": "Foundry-based template for developing Solidity smart contracts",
"version": "1.0.0",
"author": {
"name": "Paul Razvan Berg",
"url": "https://github.com/paulrberg"
},
"devDependencies": {
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"solhint": "^3.3.7"
},
"keywords": [
"blockchain",
"ethereum",
"forge",
"foundry",
"smart-contracts",
"solidity",
"template"
],
"packageManager": "yarn@3.2.4",
"private": true,
"resolutions": {
"solhint/@solidity-parser/parser": "^0.14.5"
},
"scripts": {
"clean": "rimraf cache out",
"lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "forge fmt --check && solhint \"{src,test}/**/*.sol\"",
"postinstall": "husky install",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\""
}
}