Commit 374a4053 authored by Qiu Xiang's avatar Qiu Xiang

更新 package.json 并添加 package-lock.json

parent 59ace3b7
*.pbxproj -text
\ No newline at end of file
{
"presets": ["react-native"]
}
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"init": "rm -r node_modules/react-native-amap3d; cp -r ../{components,package.json} node_modules/react-native-amap3d",
"start": "node node_modules/react-native/local-cli/cli.js start", "start": "node node_modules/react-native/local-cli/cli.js start",
"run-android": "node node_modules/react-native/local-cli/cli.js run-android", "android": "node node_modules/react-native/local-cli/cli.js run-android",
"run-ios": "node node_modules/react-native/local-cli/cli.js run-ios --device", "ios": "node node_modules/react-native/local-cli/cli.js run-ios --device"
"test": "jest"
}, },
"dependencies": { "dependencies": {
"react": "16.0.0-alpha.6", "react": "16.0.0-alpha.6",
...@@ -13,12 +13,9 @@ ...@@ -13,12 +13,9 @@
"react-navigation": "^1.0.0-beta.11" "react-navigation": "^1.0.0-beta.11"
}, },
"devDependencies": { "devDependencies": {
"babel-jest": "20.0.3", "babel-preset-react-native": "1.9.2"
"babel-preset-react-native": "1.9.2",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.6"
}, },
"jest": { "presets": [
"preset": "react-native" "react-native"
} ]
} }
{ {
"name": "react-native-amap3d", "name": "react-native-amap3d",
"version": "0.0.1", "version": "0.0.1",
"description": "AMap3D component for react-native", "description": "react-native 高德地图组件",
"main": "components/MapView.js", "main": "components/MapView.js",
"scripts": { "author": "Qiu Xiang <i@7c00.cc>",
"test": "echo \"Error: no test specified\" && exit 1" "license": "MIT",
},
"keywords": [ "keywords": [
"react-native", "react-native",
"amap", "amap",
"maps" "maps"
], ],
"author": "Qiu Xiang <i@7c00.cc>", "repository": {
"license": "MIT", "type": "git",
"url": "https://github.com/qiuxiang/react-native-amap3d"
},
"peerDependencies": { "peerDependencies": {
"react": ">=15.4.0", "react": "*",
"react-native": ">=0.40" "react-native": "*"
} }
} }
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