email
: Email address used to login to Monaca Cloud.package.json
will be modified with the following changes:monaca:preview
command will be added to the script
property.dev
command will be added to the script unless it already exists."dev": "browser-sync start -s www/ --watch --port 8080 --ui-port 8081"
Browser-sync
and Cordova
will be added as devDependencies
.package.json
will be modified with the following changes:monaca:preview
, monaca:transpile
and monaca:debug
commands will be added to the script
property.dev
, build
, and watch
commands will be added to the script unless they already exist.Webpack
and Cordova
will be added as devDependencies
.--force
: Accept default.--createPackageJson
: Create a basic package.json
file with a name and a description if the project doesn't have a package.json
file.www/components
: Monaca loaders needed to use the GUI page to include the CSS/JavaScript libraries into the project.config.xml
: a global configuration file that controls many aspects of the Cordova applications' behavior.res
: Android, iOS and Windows icons and splashes (users can remove it after the init process).cordova
: Cordova 7.1 is installed as a dev dependency in case the project does not have it..monaca/project_info.json
: A JSON file with some information such as cordova version and framework_version.email
: Email address used to register in Monacapath
: Location where you want to store your project files--url
: URL of a zip file containing a Monaca templateMemo Application
from Monaca Cloud into "CloneMemoProject" folder on your local PC.Memo Application
from Monaca Cloud into ImportedMemoApplication
folder on your local PC.--delete
: Deletes local files that do not exist in Monaca Cloud.--force
: Doesn't ask users for permission to continue.--dry-run
: Simulates the downloading operation and provides details of which files are downloaded. No actual downloading operation is done.monaca download
command with the options you want to use.monaca upload
command will transpile the project before uploading it.--delete
: Deletes the project files in Monaca Cloud which do not exist locally.--force
: Doesn't ask users for permission to continue the uploading process.--dry-run
: Simulates the uploading operation and provides details of which files are uploaded. No actual uploading operation is done.monaca upload
command with the options you want to use.generate
: can be used with keystore
or pkcsr
.upload
: can be used withkeystore
, pkcs12
, certificate
or provisioning
.add
: can be used with alias
.remove
: can be used with alias
, pkcs12
, certificate
or provisioning
.export
: can be used with keystore
or pkcsr
.alias
: alias within a keystore filekeystore
: Android KeyStorepkcsr
: CSR (Certificate Signing Request) filepkcs12
: private key with certificatecertificate
: iOS certificateprovisioning
: iOS provisioning profileplatform
: Builds for a specific platform. It can be: ios
, android
or windows
.--build-type
: Chooses a build type. It can be:debug
: (for iOS, Android and Windows) The default option.test
: (for iOS only)release
: (for iOS and Android)--output
: The path in which the built file will be stored (including the filename)--android_webview
: (Android only) Chooses a type of the webview. It can be default
or crosswalk
.--android_arch
: (Android only) Required if --android_webview
is crosswalk
. It can be x86
or arm
.--skipUpload
: Skips the upload of the local project to the cloud.--skipTranspile
: Skips the transpile process when uploading the local project to the cloud.--browser
: Opens the build process in a browser (see the screenshot below).monaca download
to get the changes locally.--skipUpload
: Skips the upload of the local project to the cloud.--skipTranspile
: Skips the transpile process when uploading the local project to the cloud.www
assets. The command will watch the file system for changes and reload the browser when a change occurs. It will execute npm run monaca:preview
defined in package.json.monaca preview
command will transpile the project in memory before launching the previewer. Additionally, if the preview is still running and you make a change, the transpile process should be triggered and the previewer will be served with the new files.monaca preview
command. Then, a browser will be opened running your project.monaca preview
process, press Ctrl+c
.npm run monaca:debug
script defined in package.json.monaca debug
command will transpile the project before serving the files to Monaca Debugger. Additionally, if the debug is still running and you make a change, the transpile process should be triggered and the debugger will be served with the new files.paths
: List of directories. Omit it to serve the current directory.--port
: HTTP port to listen to (default value is 8001)monaca debug
command. Then, you should be able to see the project name in the Monaca Debugger under the Local Projects
section. Click the project in order to run it. Try to make some changes to the project and save them. You should be able to see those changes to reflect instantly.monaca debug
process, press Ctrl+c
.npm run monaca:transpile
script defined in package.json
.monaca transpile
command.proxy <url>
: If <url> is not set, the current proxy server will be displayed.endpoint <url>
: If <url> is not set, the current API endpoint will be displayed.--help
: Displays a config helper.--reset
: Resets to the default value.add <plugin>
: Adds a plugin.rm <plugin>
: Removes a plugin.onsen
: Opens the Onsen UI documentation in a browser window.tutorial
: Opens the Onsen UI tutorial in a browser window.usage
: Opens the Monaca CLI documentation in a browser window.