我想从react原生创建redis客户端,并且我正在学习一些教程。
https://www.smoothterminal.com/articles/using-android-native-modules
我已经建好了。现在我正在搜索/想知道如何将其作为npm上的服务?
我想知道我的项目中有哪些重要文件,以及人们如何在他们的项目中使用它
发布于 2018-07-21 04:48:45
github
示例package.json
{
"name": "react-native-nameproject",
"version": "0.0.1",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/user/react-native-nameproject.git"
},
"bugs": {
"url": "https://github.com/user/react-native-nameproject/issues"
},
"homepage": "https://github.com/user/react-native-nameproject#readme",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"react-native"
],
"author": "",
"license": "",
"peerDependencies": {}如果你把你的项目的链接放在git上,它会更好地帮助你。
https://stackoverflow.com/questions/51449552
复制相似问题