添加文档生成脚本
Showing
... | @@ -14,8 +14,14 @@ | ... | @@ -14,8 +14,14 @@ |
"type": "git", | "type": "git", | ||
"url": "https://github.com/qiuxiang/react-native-amap3d" | "url": "https://github.com/qiuxiang/react-native-amap3d" | ||
}, | }, | ||
"scripts": { | |||
"docgen": "react-docgen components 2>/dev/null | node scripts/docgen.js" | |||
}, | |||
"peerDependencies": { | "peerDependencies": { | ||
"react": "*", | "react": "*", | ||
"react-native": "*" | "react-native": "*" | ||
}, | |||
"devDependencies": { | |||
"react-docgen": "^2.16.0" | |||
} | } | ||
} | } |
scripts/docgen.js
0 → 100644
Please
register
or
sign in
to comment