我想运行我从git克隆的离子应用程序。我可以看到有package.json
和bower.json
个文件。有没有办法(使用npm或bower)安装package.json
文件中指定的插件和平台?
这是package.json
{
"name": "example",
"version": "1.0",
"description": "example: App providing example, isn't that obvious?",
"dependencies": {
"gulp": "^3.5.6",
"gulp-sass": "^2.0.4",
"gulp-concat": "^2.2.0",
"gulp-minify-css": "^0.3.0",
"gulp-rename": "^1.2.0"
},
"devDependencies": {
"bower": "^1.3.3",
"gulp-util": "^2.2.14",
"shelljs": "^0.3.0"
},
"cordovaPlugins": [
"com-badrit-base64",
"cordova-plugin-camera",
"cordova-plugin-console",
"cordova-plugin-device",
"cordova-plugin-dialogs",
"cordova-plugin-file",
"cordova-plugin-file-transfer",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"cordova-plugin-whitelist",
"de.appplant.cordova.plugin.email-composer",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [
"ios",
"android"
]
}
感谢名单!
编辑:
我发现ionic state restore
为我完成了所有工作!