@charlietango/react-docs-net
Advanced tools
Comparing version
{ | ||
"name": "@charlietango/react-docs-net", | ||
"description": "Package and publish a NuGet package to a custom feed.", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -38,2 +38,15 @@ # React Docs Net | ||
or create the models with the models directly | ||
Generate JSON files with `react-docgen`, and process them: | ||
```js | ||
const docNet = require('@charlietango/react-docs-net'); | ||
docNet.createModels([{name: 'CustomModel', docs: {...}}], { | ||
namespace: 'Dk.CharlieTango', | ||
dest: 'dist/models', // Add dest to write to files | ||
}); | ||
``` | ||
or calling the `bin` | ||
@@ -40,0 +53,0 @@ |
41069
0.8%74
21.31%