Skip to content

Commit

Permalink
chore: update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
superical committed Jan 22, 2024
1 parent d8ca104 commit a01fa23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"module": "dist/index.mjs",
"umd:main": "dist/index.umd.js",
"engines": {
"node": ">= 16 <19"
"node": ">=16"
},
"peerDependencies": {
"ethers": "^6.0.0"
Expand Down Expand Up @@ -54,7 +54,7 @@
"start": "node build/src/main.js",
"clean": "rimraf coverage build tmp",
"prebuild": "npm run lint",
"build": "rimraf dist && microbundle src/*.ts",
"build": "rimraf dist && microbundle src/*.ts --tsconfig tsconfig.release.json",
"build:watch": "tsc -w -p tsconfig.json",
"build:release": "npm run clean && tsc -p tsconfig.release.json",
"lint": "eslint . --ext .ts --ext .mts",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.release.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"sourceMap": false,
"removeComments": true
},
"include": ["src/**/*"]
"include": ["src/**/*"],
"files": []
}

0 comments on commit a01fa23

Please sign in to comment.