Skip to content

Commit

Permalink
update: add build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
joundy committed Apr 6, 2024
1 parent 6982dd3 commit 405072a
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 2 deletions.
8 changes: 8 additions & 0 deletions build.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import dts from 'bun-plugin-dts'

await Bun.build({
entrypoints: ['./src/index.ts'],
outdir: './dist',
minify: true,
plugins: [dts()]
})
Binary file modified bun.lockb
Binary file not shown.
30 changes: 28 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,34 @@
{
"name": "big-varuint",
"module": "index.ts",
"name": "big-varuint-js",
"repository": "joundy/big-varuint-js",
"author": {
"name": "Joundy",
"email": "[email protected]",
"url": "https://github.com/joundy"
},
"version": "0.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "Javascript big number varuint implementation",
"type": "module",
"scripts": {
"build": "bun run build.mjs",
"prepublishOnly": "bun run build"
},
"files": [
"dist"
],
"keywords": [
"bun",
"varuint",
"varint",
"bigint",
"bigint-varint",
"uint",
"u128"
],
"devDependencies": {
"bun-plugin-dts": "^0.2.1",
"bun-types": "latest"
},
"peerDependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 405072a

Please sign in to comment.