diff --git a/cross-chain/solana/.prettierrc.js b/cross-chain/solana/.prettierrc.js new file mode 100644 index 000000000..89028b307 --- /dev/null +++ b/cross-chain/solana/.prettierrc.js @@ -0,0 +1,3 @@ +module.exports = { + ...require("@thesis-co/prettier-config"), +} \ No newline at end of file diff --git a/cross-chain/solana/package.json b/cross-chain/solana/package.json index 28edb0dbb..d14822030 100644 --- a/cross-chain/solana/package.json +++ b/cross-chain/solana/package.json @@ -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", @@ -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",