Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Aug 9, 2024
1 parent 7b2ad76 commit b90b7f5
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2,600 deletions.
9 changes: 0 additions & 9 deletions v2/.eslintignore

This file was deleted.

13 changes: 13 additions & 0 deletions v2/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = [
{
ignores: [".yarn", "artifacts", "cache", "dist", "node_modules", "typechain-types", "docs", "crytic-export", "lib"],
languageOptions: {
ecmaVersion: 2020,
sourceType: "module",
parser: require("@typescript-eslint/parser"),
},
plugins: {
"@typescript-eslint": require("@typescript-eslint/eslint-plugin"),
},
},
];
19 changes: 14 additions & 5 deletions v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
"name": "@zetachain/protocol-contracts",
"version": "1.0.0",
"author": "zetachain",
"directories": {
"lib": "lib",
"test": "test"
"exports": {
"./types": {
"types": "./typechain-types/index.ts"
}
},
"files": [
"out",
"typechain-types"
],
"scripts": {
"lint": "npx eslint . --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern out --ignore-pattern cache_forge/",
"lint:fix": "npx eslint . --fix --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern out --ignore-pattern cache_forge/",
Expand All @@ -20,8 +25,11 @@
"@openzeppelin/upgrades-core": "1.35.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/eslint__js": "^8.42.3",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"del-cli": "^5.1.0",
"eslint": "^9.8.0",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.5.4",
Expand All @@ -31,5 +39,6 @@
"license": "MIT",
"dependencies": {
"ethers": "^6.13.1"
}
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}
Loading

0 comments on commit b90b7f5

Please sign in to comment.