* added tool to generate spec files for React components * use typedoc for missing descriptions and types * improvements and fixes * improvements * added doc comments for half of the components * add custom resolver + more doc comments * added all tsdocs * general improvements * add specs to UI docs * added github action * remove unnecessary api route * Added readme for react-docs-generator * remove comment * Update packages/design-system/ui/src/components/currency-input/currency-input.tsx Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com> * remove description of aria fields + add generate script --------- Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
37 lines
897 B
JSON
37 lines
897 B
JSON
{
|
|
"name": "react-docs-generator",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "ts-node src/index.ts",
|
|
"generate:ui": "yarn start --src ../../../packages/design-system/ui/src --output ../../../www/apps/ui/src/specs --clean",
|
|
"build": "tsc",
|
|
"watch": "tsc --watch",
|
|
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"exports": "./dist/index.js",
|
|
"bin": "dist/index.js",
|
|
"dependencies": {
|
|
"chalk": "^5.3.0",
|
|
"commander": "^11.1.0",
|
|
"glob": "^10.3.10",
|
|
"react-docgen": "^7.0.1",
|
|
"resolve": "^1.22.8",
|
|
"ts-node": "^10.9.1",
|
|
"typedoc": "^0.25.4",
|
|
"typedoc-plugin-custom": "*",
|
|
"typescript": "5.2",
|
|
"utils": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.9.4"
|
|
},
|
|
"peerDependencies": {
|
|
"typedoc": "0.25.x"
|
|
}
|
|
}
|