Skip to content

Commit

Permalink
add files for bun
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatOneCalculator committed Sep 22, 2023
1 parent c433776 commit 2202679
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,17 @@ The Rust version is [megalodon-rs](https://github.com/h3poteto/megalodon-rs).
## Install

```
$ npm install -S megalodon
```
# npm
npm install -S megalodon
or
# pnpm
npm install -S megalodon
```
$ yarn add megalodon
# bun
bun add megalodon
# yarn
yarn add megalodon
```

### Build for browser
Expand Down
Binary file added bun.lockb
Binary file not shown.
6 changes: 5 additions & 1 deletion megalodon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"@types/uuid": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"bun-types": "^1.0.3",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.7.0",
Expand All @@ -88,5 +89,8 @@
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.1"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
}

0 comments on commit 2202679

Please sign in to comment.