Socket
Socket
Sign inDemoInstall

@capacitor/cli

Package Overview
Dependencies
Maintainers
5
Versions
832
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/cli - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

assets/Capacitor/Capacitor/Plugins/.DS_Store

4

assets/Capacitor/Pods/Local Podspecs/CapacitorCordova.podspec.json

@@ -8,3 +8,5 @@ {

"license": "MIT",
"authors": "jcesarmobile",
"authors": {
"Ionic Team": "hi@ionicframework.com"
},
"source": {

@@ -11,0 +13,0 @@ "git": "https://github.com/ionic-team/capacitor",

{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"size" : "20x20",
"filename" : "AppIcon-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"size" : "20x20",
"filename" : "AppIcon-20x20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"size" : "29x29",
"filename" : "AppIcon-29x29@2x-1.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"size" : "29x29",
"filename" : "AppIcon-29x29@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"size" : "40x40",
"filename" : "AppIcon-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"size" : "40x40",
"filename" : "AppIcon-40x40@3x.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"size" : "60x60",
"filename" : "AppIcon-60x60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"size" : "60x60",
"filename" : "AppIcon-60x60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"size" : "20x20",
"filename" : "AppIcon-20x20@1x.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"size" : "20x20",
"filename" : "AppIcon-20x20@2x-1.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"size" : "29x29",
"filename" : "AppIcon-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"size" : "29x29",
"filename" : "AppIcon-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"size" : "40x40",
"filename" : "AppIcon-40x40@1x.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"size" : "40x40",
"filename" : "AppIcon-40x40@2x-1.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"size" : "76x76",
"filename" : "AppIcon-76x76@1x.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"size" : "76x76",
"filename" : "AppIcon-76x76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"size" : "83.5x83.5",
"filename" : "AppIcon-83.5x83.5@2x.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"size" : "1024x1024",
"filename" : "AppIcon-512@2x.png",
"scale" : "1x"

@@ -92,0 +110,0 @@ }

@@ -1,5 +0,9 @@

# Capacitor
# ⚡️ Capacitor: Cross-platform apps with JavaScript and the Web ⚡️
Monorepo for Capacitor libraries.
Capacitor is a cross-platform API and code execution layer that makes it easy to call Native SDKs from web code and to write custom Native plugins that your app might need. Additionally, Capacitor provides first-class Progressive Web App support so you can write one app and deploy it to the app stores, _and_ the mobile web.
Capacitor is being designed by the Ionic Framework team as an eventual replacement for Cordova, though backwards compatibility with Cordova plugins is a priority and is actively being worked on. Capacitor can be used without Ionic Framework, but soon it'll become a core part of the Ionic developer experience.
Capacitor is still a work in progress and is not quite ready for use. Stay tuned for a public release in early 2018.
### Directory Structure

@@ -14,26 +18,1 @@

* `example`: iOS Example for development
### Running iOS Example
```
cd core
npm run build
sudo npm link
```
```
cd example
npm link @capacitor/core
npm run build && npm run copy
```
Then open `example/ios/IonicRunner/IonicRunner.xcodeproj` and run it
### Running Android Example
First, we need to build the Android runtime. Open `android` in Android Studio and do a build. Copy
`android/avocado/build/outputs/aar/avocado-debug.aar` to `example/android/avocado-debug/`
Open `examples/android` in Android Studio, run in emulator or on device.
Enjoy.
{
"name": "@capacitor/cli",
"version": "0.0.10",
"version": "0.0.11",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

@@ -13,5 +13,5 @@ "homepage": "https://ionic-team.github.io/capacitor/",

},
"main": "./dist/index.js",
"main": "./dist/cli.js",
"scripts": {
"build": "npm run clean && npm run assets && tsc",
"build": "npm run clean && npm run assets && tsc && npm run rollup",
"clean": "rm -rf ./dist",

@@ -22,2 +22,4 @@ "deploy": "np",

"prepublishOnly": "npm run build",
"rollup": "rollup --config rollup.config.js",
"minify": "node_modules/.bin/uglifyjs --mangle --compress --source-map \"content='dist/cli.js.map',url='cli.js.map'\" --comments '/^/*!/' --output dist/cli.js dist/cli.js",
"test": "jest",

@@ -29,3 +31,3 @@ "watch": "npm run assets && tsc -w"

"bin/",
"dist/"
"dist/cli.js"
],

@@ -48,18 +50,2 @@ "keywords": [

"license": "MIT",
"dependencies": {
"@types/tar": "^4.0.0",
"chalk": "^2.3.0",
"commander": "^2.12.2",
"compare-versions": "^3.1.0",
"fs-extra": "^4.0.3",
"inquirer": "^4.0.1",
"opn": "^5.1.0",
"ora": "^1.3.0",
"semver": "^5.4.1",
"superagent": "^3.8.2",
"superagent-proxy": "^1.0.2",
"tar": "^4.2.0",
"which": "^1.3.0",
"xml2js": "^0.4.19"
},
"devDependencies": {

@@ -73,11 +59,30 @@ "@types/fs-extra": "^4.0.5",

"@types/semver": "^5.4.0",
"@types/tar": "^4.0.0",
"@types/which": "^1.0.28",
"@types/xml2js": "^0.4.2",
"chalk": "^2.3.0",
"commander": "^2.12.2",
"fs-extra": "^4.0.3",
"inquirer": "^4.0.1",
"jest": "^21.2.1",
"mock-fs": "^4.4.2",
"np": "^2.18.2",
"opn": "^5.1.0",
"ora": "^1.3.0",
"rollup": "^0.54.1",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.2",
"rollup-plugin-re": "^1.0.6",
"semver": "^5.4.1",
"superagent": "^3.8.2",
"superagent-proxy": "^1.0.2",
"tar": "^4.2.0",
"ts-jest": "^21.2.4",
"tslint": "^5.8.0",
"tslint-ionic-rules": "0.0.11",
"typescript": "^2.6.2"
"typescript": "^2.6.2",
"uglify-es": "^3.3.8",
"which": "^1.3.0",
"xml2js": "^0.4.19"
},

@@ -84,0 +89,0 @@ "publishConfig": {

@@ -9,36 +9,8 @@ # Capacitor CLI

## Using Capacitor CLI
### Local Commands
Consule the Getting Started guide for information on using the CLI and Capacitor scripts.
Below is an example of running Capacitor commands from a webapp's npm scripts within the local `package.json` file.
```
package.json scripts
scripts: {
"build": "tsc && npm run sync",
"create.android": "capacitor create android",
"create.ios": "capacitor create ios",
"doctor": "capacitor doctor"
"open.android": "capacitor open android",
"open.ios": "capacitor open ios",
"sync": "capacitor sync"
}
```
### CLI Commands
```
sync [platform] updates + copy
update [platform] updates the native plugins and dependencies
copy [platform] copies the web app build into the native app
open [platform] opens the native project workspace
create [platform] create a native project
doctor [platform] checks for common errors
plugin:generate start a new Capacitor plugin
```
### License
* [MIT](https://github.com/ionic-team/capacitor/blob/master/LICENSE)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc