@kapto/typesgenerate

1.4.4 • Public • Published

Usage:

$ npx @kapto/typesgenerate --config-path=./types.config.json

In case you won't specify --config-path parameter please consider define types.config.json file in the root of the project.

Example of configuration File(types.config.json):

{
    "GENERATION_DIRECTORY": "../src/types/generated",
    "PUBLIC_DIRECTORY": "./public",
    "PUBLIC_ICONS_DIRECTORY": "./public/assets/icons",
    "SWAGGER_FILES_DIRECTORY": "../../API/Definition",
    "APIS": [
        {
            "id": "dashboard",
            "url": "DashboardService",
            "paths": {
                "base": "/plugin/dashboardmr"
            }
        }
    ]   
}

Readme

Keywords

Package Sidebar

Install

npm i @kapto/typesgenerate

Weekly Downloads

42

Version

1.4.4

License

MIT

Unpacked Size

59.2 kB

Total Files

19

Last publish

Collaborators

  • sunstrikemd