Skip to content

Commit

Permalink
feat: add rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
rekyyang committed May 24, 2024
1 parent af3cc0b commit 33aa77b
Show file tree
Hide file tree
Showing 5 changed files with 581 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
run: pnpm -F "@node-real/**" build

- name: Run Test
run: pnpm -F "@node-real/web3.js-plugin-bundle" test
run: pnpm -F "@node-real/*" test
18 changes: 14 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"prepare": "husky install",
"version": "pnpm install && changeset version",
"clean": "rimraf node_modules **/*/node_modules",
"build": "pnpm run -F \"./src/**\" -r build",
"lint": "prettier --write './src/*.{ts,tsx,js,jsx}' && eslint ./src/ --ext .js,.jsx,.ts,.tsx --fix"
"build": "rollup -c",
"lint": "prettier --write './src/*.{ts,tsx,js,jsx}' && eslint ./src/ --ext .js,.jsx,.ts,.tsx --fix",
"test": "jest --runInBand './test/*'"
},
"contributors": [
"rekyyang <[email protected]>"
Expand All @@ -28,6 +29,14 @@
"url": "[email protected]:node-real/web3.js-plugin-bundle.git"
},
"dependencies": {
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"inflight": "^1.0.6",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"web3-core": "^4.3.2",
"web3-types": "^1.6.0"
},
Expand All @@ -38,12 +47,13 @@
"@types/node": "^20.2.6",
"eslint": "8",
"husky": "^9.0.11",
"jest": "^29.5.0",
"jest": "^29.6.0",
"jest-extended": "^4.0.0",
"rimraf": "^5.0.7",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"typescript": "^5.4.5",
"web3": "^4.2.2"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 33aa77b

Please sign in to comment.