@capacitor/cli
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
5280215
0
94980
0
35
335
16
- Removed@types/tar@^4.0.0
- Removedchalk@^2.3.0
- Removedcommander@^2.12.2
- Removedcompare-versions@^3.1.0
- Removedfs-extra@^4.0.3
- Removedinquirer@^4.0.1
- Removedopn@^5.1.0
- Removedora@^1.3.0
- Removedsemver@^5.4.1
- Removedsuperagent@^3.8.2
- Removedsuperagent-proxy@^1.0.2
- Removedtar@^4.2.0
- Removedwhich@^1.3.0
- Removedxml2js@^0.4.19
- Removed@types/minipass@3.3.5(transitive)
- Removed@types/node@22.5.1(transitive)
- Removed@types/tar@4.0.5(transitive)
- Removedagent-base@4.3.0(transitive)
- Removedansi-escapes@3.2.0(transitive)
- Removedansi-regex@3.0.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedast-types@0.16.1(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedchalk@2.4.2(transitive)
- Removedchardet@0.4.2(transitive)
- Removedchownr@1.1.4(transitive)
- Removedcli-cursor@2.1.0(transitive)
- Removedcli-spinners@1.3.1(transitive)
- Removedcli-width@2.2.1(transitive)
- Removedco@4.6.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcompare-versions@3.6.0(transitive)
- Removedcomponent-emitter@1.3.1(transitive)
- Removedcookiejar@2.1.4(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddata-uri-to-buffer@1.2.0(transitive)
- Removeddebug@2.6.93.1.03.2.7(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddegenerator@1.0.4(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddepd@2.0.0(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-promisify@5.0.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedescodegen@1.14.3(transitive)
- Removedesprima@3.1.34.0.1(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedextend@3.0.2(transitive)
- Removedexternal-editor@2.2.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfigures@2.0.0(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedform-data@2.5.1(transitive)
- Removedformidable@1.2.6(transitive)
- Removedfs-extra@4.0.3(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedftp@0.3.10(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedget-uri@2.0.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removedhttp-proxy-agent@2.1.0(transitive)
- Removedhttps-proxy-agent@2.2.4(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinquirer@4.0.2(transitive)
- Removedip@1.1.9(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedis-wsl@1.1.0(transitive)
- Removedisarray@0.0.11.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjsonfile@4.0.0(transitive)
- Removedlevn@0.3.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlog-symbols@2.2.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedmethods@1.1.2(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedmimic-fn@1.2.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedminipass@2.9.07.1.2(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedms@2.0.02.1.3(transitive)
- Removedmute-stream@0.0.7(transitive)
- Removednetmask@1.0.6(transitive)
- Removedobject-inspect@1.13.2(transitive)
- Removedonetime@2.0.1(transitive)
- Removedopn@5.5.0(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedora@1.4.0(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedpac-proxy-agent@2.0.2(transitive)
- Removedpac-resolver@3.0.0(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedproxy-agent@2.3.1(transitive)
- Removedproxy-from-env@1.1.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedqs@6.13.0(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedreadable-stream@1.1.142.3.8(transitive)
- Removedrestore-cursor@2.0.0(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrx-lite@4.0.8(transitive)
- Removedrx-lite-aggregates@4.0.8(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsax@1.4.1(transitive)
- Removedsemver@5.7.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedsmart-buffer@1.1.15(transitive)
- Removedsocks@1.1.10(transitive)
- Removedsocks-proxy-agent@3.0.1(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedstring-width@2.1.1(transitive)
- Removedstring_decoder@0.10.311.1.1(transitive)
- Removedstrip-ansi@4.0.0(transitive)
- Removedsuperagent@3.8.3(transitive)
- Removedsuperagent-proxy@1.0.3(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtar@4.4.19(transitive)
- Removedthrough@2.3.8(transitive)
- Removedthunkify@2.1.2(transitive)
- Removedtmp@0.0.33(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedtslib@2.7.0(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedundici-types@6.19.8(transitive)
- Removeduniversalify@0.1.2(transitive)
- Removedunpipe@1.0.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwhich@1.3.1(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedxml2js@0.4.23(transitive)
- Removedxmlbuilder@11.0.1(transitive)
- Removedxregexp@2.0.0(transitive)
- Removedyallist@2.1.23.1.1(transitive)