How can I exclude node_modules with typedoc?

1.8k Views Asked by At

There is the scripts in package.json:

    "scripts": {
        "typedoc": "npx typedoc --out docs src/main.ts --exclude ./node_modules/**",
    }

I run it

npm run typedoc

And get a error:

Unexpected token } in JSON at position 920 while parsing near '...node_modules/**"

How do I solve it?

0

There are 0 best solutions below