📝 readme
parent
f185952534
commit
6e0b242a8f
|
@ -0,0 +1,24 @@
|
|||
# ADOFAI Typegen
|
||||
|
||||
Typescript type generator for ADOFAI events
|
||||
|
||||
## Usage
|
||||
|
||||
First, setup registry.
|
||||
|
||||
```shell
|
||||
npm config set @pikokr-gitea:registry https://git.pikokr.dev/api/packages/pikokr/npm/
|
||||
npm config set -- '//git.pikokr.dev/api/packages/pikokr/npm/:_authToken' "<PAT>"
|
||||
```
|
||||
|
||||
Install package
|
||||
|
||||
```shell
|
||||
npm i -g @pikokr-gitea/adofai-typegen
|
||||
```
|
||||
|
||||
Run
|
||||
|
||||
```shell
|
||||
adofai-typegen https://example.com/properties.json
|
||||
```
|
|
@ -3,6 +3,10 @@
|
|||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.pikokr.dev/pikokr/adofai-typegen"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsx src",
|
||||
"build": "tsup",
|
||||
|
|
Loading…
Reference in New Issue