Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
Compile libs before running examples
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanie committed Apr 5, 2022
1 parent ead58e5 commit 6a29a97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"ethers": "^5.6.1"
},
"scripts": {
"example:node": "ts-node src/index.ts",
"example:browser": "esbuild --bundle examples/browser/src/*.ts --servedir=examples/browser/web",
"example:node": "npm run compile-cjs && ts-node src/index.ts",
"example:browser": "npm run compile-esm && esbuild --bundle examples/browser/src/*.ts --servedir=examples/browser/web",
"build": "npm run clean && npm run compile-cjs && npm run compile-esm && npm run compile-types && npm run build-docs",
"build-docs": "typedoc --out docs --excludeInternal src/index.ts",
"clean": "rimraf ./dist",
Expand Down

0 comments on commit 6a29a97

Please sign in to comment.