📝 readme

main
paring 2023-03-30 15:04:34 +09:00
parent f185952534
commit 6e0b242a8f
Signed by: pikokr
GPG Key ID: 8C7ABCEF704FD728
2 changed files with 28 additions and 0 deletions

24
README.md Normal file
View File

@ -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
```

View File

@ -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",