Skip to content

Commit

Permalink
🪜 Waffle optimism build step (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
yivlad committed May 17, 2022
1 parent cea0bb7 commit a26257e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-frogs-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ethereum-waffle/optimism": patch
---

Add build step for waffle-optimism
4 changes: 4 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions waffle-optimism/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
"module": "dist/esm/index.ts",
"types": "dist/esm/index.d.ts",
"scripts": {
"build": "true",
"test": "true",
"test:optimism": "mocha",
"lint": "eslint '{src,test}/**/*.ts'",
"lint:fix": "eslint --fix '{src,test}/**/*.ts'"
"lint:fix": "eslint --fix '{src,test}/**/*.ts'",
"build": "rimraf ./dist && yarn build:esm && yarn build:cjs",
"build:esm": "tsc -p tsconfig.build.json --outDir dist/esm --module ES6",
"build:cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --declaration false"
},
"engines": {
"node": ">=10.0"
Expand All @@ -32,6 +34,8 @@
"@ethereum-waffle/provider": "workspace:*",
"eslint": "^7.14.0",
"ethereum-waffle": "workspace:*",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.2"
}
}
6 changes: 6 additions & 0 deletions waffle-optimism/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"include": [
"src",
],
}

0 comments on commit a26257e

Please sign in to comment.