📝 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",
|
"version": "0.0.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.pikokr.dev/pikokr/adofai-typegen"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "tsx src",
|
"dev": "tsx src",
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
|
|
Loading…
Reference in New Issue