Skip to content

Commit

Permalink
Adding prettier, more properties in package.jon and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpar committed Jul 25, 2023
1 parent 99f6b37 commit 3ab2244
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cross-chain/solana/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require("@thesis-co/prettier-config"),
}
13 changes: 11 additions & 2 deletions cross-chain/solana/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
{
"name": "@keep-network/tbtc-v2-solana",
"version": "1.0.0-dev",
"description": "tBTC v2 on Solana",
"license": "GPL-3.0-only",
"scripts": {
"build": "anchor build",
"format": "npm run lint",
"format:fix": "npm run lint:fix",
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check",
"test": "anchor test"
},
"devDependencies": {
"@coral-xyz/anchor": "^0.28.0",
Expand All @@ -11,6 +19,7 @@
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^18.11.18",
"@thesis-co/eslint-config": "github:thesis/eslint-config",
"dotenv": "^16.3.1",
"chai": "^4.3.4",
"mocha": "^9.0.3",
Expand Down

0 comments on commit 3ab2244

Please sign in to comment.