Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DCKT committed Feb 17, 2024
1 parent 1f1455a commit befcb21
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
# rescript-bindings-template

NOTE: For versioning & auto npm deploy, add a `NPM_TOKEN` to the repository secrets.

## Setup

1. Install the module

```bash
bun install @dck/rescript-x
```

or

```bash
yarn install @dck/rescript-x
```

or

```bash
npm install @dck/rescript-x
```

2. Add it to your `rescript.json` config

```json
{
"bsc-flags": ["@dck/rescript-x"]
}
```

## API
7 changes: 6 additions & 1 deletion rescript.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"name": "@dck/rescript-bindings-template",
"uncurried": true,
"namespace": false,
"sources": ["src/js"]
"sources": [
{
"dir": "src",
"subdirs": true
}
]
}

0 comments on commit befcb21

Please sign in to comment.