Skip to content

Commit

Permalink
chore: simplify scripts in "package.json"
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Nov 27, 2022
1 parent 9959cae commit 92c9101
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"*.{js,json,md,sol,ts,yml}":
- prettier --config ./.prettierrc.yml --write
- prettier --write
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
"deploy": "hardhat deploy:Greeter",
"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.yml --ignore-path ./.eslintignore --ext .js,.ts .",
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
"postinstall": "husky install && DOTENV_CONFIG_PATH=./.env.example yarn typechain",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,sol,ts,yml}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,sol,ts,yml}\"",
"prettier": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
"test": "hardhat test",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
}
Expand Down

0 comments on commit 92c9101

Please sign in to comment.