实现ShutoApi Cordova插件的基础功能,包括: - 添加.gitignore忽略.history目录 - 创建package.json定义插件基本信息 - 编写plugin.xml配置插件 - 实现前端JavaScript接口 - 添加Android和iOS原生实现 - 编写README文档说明使用方法
34 lines
685 B
JSON
34 lines
685 B
JSON
{
|
|
"name": "cordova-shuto-api",
|
|
"version": "1.0.0",
|
|
"description": "ShutoApi Cordova Plugin for navigation and communication between native and web",
|
|
"main": "www/ShutoApi.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"keywords": [
|
|
"cordova",
|
|
"shuto",
|
|
"navigation",
|
|
"ecosystem:cordova",
|
|
"cordova-android",
|
|
"cordova-ios"
|
|
],
|
|
"cordova": {
|
|
"id": "cordova-shuto-api",
|
|
"platforms": [
|
|
"android",
|
|
"ios"
|
|
]
|
|
},
|
|
"engines": {
|
|
"cordovaDependencies": {
|
|
"4.0.0": {
|
|
"cordova-android": "^6.0.0",
|
|
"cordova-ios": "^4.0.0"
|
|
}
|
|
}
|
|
}
|
|
} |