REFACTOR: packaging and example

This commit is contained in:
Mark Silva 2023-05-05 18:21:47 +08:00
parent 1ffbbcddf8
commit e17ff88b0c
3 changed files with 3 additions and 2 deletions

View File

@ -95,7 +95,7 @@ const clientConfig: APIClientConfig = {
type: "STRING",
description: "description",
alias: "STRING",
can_be_seen_on_views: ["bank"],
can_be_seen_on_views: ["owner"],
is_active: true,
};
console.log(

View File

@ -5,7 +5,7 @@
"scripts": {
"build": "tsc --declaration && tsc-alias",
"test": "jest --setupFiles dotenv/config",
"lint": "yarn prettier --w . && yarn eslint src __tests__"
"lint": "prettier --w . && eslint src __tests__"
},
"dependencies": {
"global": "^4.4.0",

View File

@ -6,6 +6,7 @@
"outDir": "dist",
"baseUrl": "src",
"resolveJsonModule": true,
"declaration": true,
"paths": {
"*": ["node_modules/*"]
}