我想从react native创建Redis客户端,并且正在阅读一些教程。
https://www.smoothterminal.com/articles/using-android-native-modules
我已经建造好了。现在,我正在搜索/想要知道如何将其作为npm上的服务?
我想知道项目中重要的文件是什么,人们如何在项目中使用它
答案 0 :(得分:0)
示例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上,最好为您提供帮助。