Commit fb960c32 authored by 7c00's avatar 7c00

修正 example 依赖引用方式

parent 9384e0a0
## 初始化
## 安装依赖
强烈推荐使用 npm@5+ 安装依赖
推荐使用 npm@5+
```
$ npm i
$ npm run init
```
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"private": true,
"scripts": {
"init": "rm -r node_modules/react-native-amap3d; mkdir node_modules/react-native-amap3d; cp -r ../components node_modules/react-native-amap3d; cp -r ../package.json node_modules/react-native-amap3d; cp -r ../index.js node_modules/react-native-amap3d",
"start": "node node_modules/react-native/local-cli/cli.js start",
"android": "node node_modules/react-native/local-cli/cli.js run-android",
"android-log": "node node_modules/react-native/local-cli/cli.js log-android",
......@@ -10,7 +9,7 @@
"dependencies": {
"react": "16.0.0-alpha.6",
"react-native": "0.44.0",
"react-native-amap3d": "..",
"react-native-amap3d": "^0.2.2",
"react-navigation": "^1.0.0-beta.11"
},
"devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment