From 87473cd403d5f1d142539fd4fd300b733734c438 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 22 Nov 2017 12:45:13 -0500 Subject: [PATCH] Install cordova plugins --- app/.gitignore | 3 + app/config.xml | 16 +- app/install.sh | 9 + app/package-lock.json | 561 ++++++++++++++++++++++++++++++++++++++++++ app/package.json | 43 +++- 5 files changed, 619 insertions(+), 13 deletions(-) create mode 100644 app/install.sh create mode 100644 app/package-lock.json diff --git a/app/.gitignore b/app/.gitignore index 5509140..8973efa 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1,4 @@ *.DS_Store +platforms/* +plugins/* +node_modules/* \ No newline at end of file diff --git a/app/config.xml b/app/config.xml index 8caf135..cb85e75 100644 --- a/app/config.xml +++ b/app/config.xml @@ -2,13 +2,12 @@ INTVAL - A sample Apache Cordova application that responds to the deviceready event. + Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras - - Apache Cordova Team + + M McWilliams - @@ -23,4 +22,13 @@ + + + + + + + + + diff --git a/app/install.sh b/app/install.sh new file mode 100644 index 0000000..5551b72 --- /dev/null +++ b/app/install.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +npm install +cordova platform add ios +cordova platform add android +cordova plugin add cordova-plugin-device +cordova plugin add cordova-plugin-dialogs +cordova plugin add cordova-plugin-ble-central --variable BLUETOOTH_USAGE_DESCRIPTION="INTVAL intervalometer controls" +cordova plugin add cordova-plugin-statusbar diff --git a/app/package-lock.json b/app/package-lock.json new file mode 100644 index 0000000..fb5edb4 --- /dev/null +++ b/app/package-lock.json @@ -0,0 +1,561 @@ +{ + "name": "com.sixteenmillimeter.intval3", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "android-versions": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/android-versions/-/android-versions-1.2.1.tgz", + "integrity": "sha512-k6zlrtWbJ3tx1ZsyyJ0Bo3r6cqPA3JUnFGv7pnIaLr1XVxSi2Tcem2lg3kBebFp27v/A40tZqdlouPyakpyKrw==" + }, + "cordova-android": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-6.3.0.tgz", + "integrity": "sha1-2lQYQz0lx1pZd7QoJEu+Q30BKNI=", + "requires": { + "android-versions": "1.2.1", + "cordova-common": "2.1.0", + "elementtree": "0.1.6", + "nopt": "3.0.6", + "properties-parser": "0.2.3", + "q": "1.5.0", + "shelljs": "0.5.3" + }, + "dependencies": { + "abbrev": { + "version": "1.1.0", + "bundled": true + }, + "ansi": { + "version": "0.3.1", + "bundled": true + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true + }, + "base64-js": { + "version": "0.0.8", + "bundled": true + }, + "big-integer": { + "version": "1.6.25", + "bundled": true + }, + "bplist-parser": { + "version": "0.1.1", + "bundled": true, + "requires": { + "big-integer": "1.6.25" + } + }, + "brace-expansion": { + "version": "1.1.8", + "bundled": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "concat-map": { + "version": "0.0.1", + "bundled": true + }, + "cordova-common": { + "version": "2.1.0", + "bundled": true, + "requires": { + "ansi": "0.3.1", + "bplist-parser": "0.1.1", + "cordova-registry-mapper": "1.1.15", + "elementtree": "0.1.6", + "glob": "5.0.15", + "minimatch": "3.0.4", + "osenv": "0.1.4", + "plist": "1.2.0", + "q": "1.5.0", + "semver": "5.4.1", + "shelljs": "0.5.3", + "underscore": "1.8.3", + "unorm": "1.4.1" + } + }, + "cordova-registry-mapper": { + "version": "1.1.15", + "bundled": true + }, + "elementtree": { + "version": "0.1.6", + "bundled": true, + "requires": { + "sax": "0.3.5" + } + }, + "glob": { + "version": "5.0.15", + "bundled": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true + }, + "lodash": { + "version": "3.10.1", + "bundled": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "requires": { + "brace-expansion": "1.1.8" + } + }, + "nopt": { + "version": "3.0.6", + "bundled": true, + "requires": { + "abbrev": "1.1.0" + } + }, + "once": { + "version": "1.4.0", + "bundled": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true + }, + "osenv": { + "version": "0.1.4", + "bundled": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true + }, + "plist": { + "version": "1.2.0", + "bundled": true, + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "1.0.2", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, + "properties-parser": { + "version": "0.2.3", + "bundled": true + }, + "q": { + "version": "1.5.0", + "bundled": true + }, + "sax": { + "version": "0.3.5", + "bundled": true + }, + "semver": { + "version": "5.4.1", + "bundled": true + }, + "shelljs": { + "version": "0.5.3", + "bundled": true + }, + "underscore": { + "version": "1.8.3", + "bundled": true + }, + "unorm": { + "version": "1.4.1", + "bundled": true + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true + }, + "wrappy": { + "version": "1.0.2", + "bundled": true + }, + "xmlbuilder": { + "version": "4.0.0", + "bundled": true, + "requires": { + "lodash": "3.10.1" + } + }, + "xmldom": { + "version": "0.1.27", + "bundled": true + } + } + }, + "cordova-ios": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-4.5.4.tgz", + "integrity": "sha1-yAZIBYlyloVw3BXalzFP+S0H3+c=", + "requires": { + "cordova-common": "2.1.0", + "ios-sim": "6.1.2", + "nopt": "3.0.6", + "plist": "1.2.0", + "q": "1.5.1", + "shelljs": "0.5.3", + "xcode": "0.9.3", + "xml-escape": "1.1.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true + }, + "ansi": { + "version": "0.3.1", + "bundled": true + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true + }, + "base64-js": { + "version": "0.0.8", + "bundled": true + }, + "big-integer": { + "version": "1.6.25", + "bundled": true + }, + "bplist-creator": { + "version": "0.0.7", + "bundled": true, + "requires": { + "stream-buffers": "2.2.0" + } + }, + "bplist-parser": { + "version": "0.1.1", + "bundled": true, + "requires": { + "big-integer": "1.6.25" + } + }, + "brace-expansion": { + "version": "1.1.8", + "bundled": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "concat-map": { + "version": "0.0.1", + "bundled": true + }, + "cordova-common": { + "version": "2.1.0", + "bundled": true, + "requires": { + "ansi": "0.3.1", + "bplist-parser": "0.1.1", + "cordova-registry-mapper": "1.1.15", + "elementtree": "0.1.6", + "glob": "5.0.15", + "minimatch": "3.0.4", + "osenv": "0.1.4", + "plist": "1.2.0", + "q": "1.5.1", + "semver": "5.4.1", + "shelljs": "0.5.3", + "underscore": "1.8.3", + "unorm": "1.4.1" + } + }, + "cordova-registry-mapper": { + "version": "1.1.15", + "bundled": true + }, + "elementtree": { + "version": "0.1.6", + "bundled": true, + "requires": { + "sax": "0.3.5" + } + }, + "glob": { + "version": "5.0.15", + "bundled": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true + }, + "ios-sim": { + "version": "6.1.2", + "bundled": true, + "requires": { + "bplist-parser": "0.0.6", + "nopt": "1.0.9", + "plist": "1.2.0", + "simctl": "1.1.1" + }, + "dependencies": { + "bplist-parser": { + "version": "0.0.6", + "bundled": true + }, + "nopt": { + "version": "1.0.9", + "bundled": true, + "requires": { + "abbrev": "1.1.1" + } + } + } + }, + "lodash": { + "version": "3.10.1", + "bundled": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "requires": { + "brace-expansion": "1.1.8" + } + }, + "nopt": { + "version": "3.0.6", + "bundled": true, + "requires": { + "abbrev": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "bundled": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true + }, + "osenv": { + "version": "0.1.4", + "bundled": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true + }, + "pegjs": { + "version": "0.10.0", + "bundled": true + }, + "plist": { + "version": "1.2.0", + "bundled": true, + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "1.0.2", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, + "q": { + "version": "1.5.1", + "bundled": true + }, + "sax": { + "version": "0.3.5", + "bundled": true + }, + "semver": { + "version": "5.4.1", + "bundled": true + }, + "shelljs": { + "version": "0.5.3", + "bundled": true + }, + "simctl": { + "version": "1.1.1", + "bundled": true, + "requires": { + "shelljs": "0.2.6", + "tail": "0.4.0" + }, + "dependencies": { + "shelljs": { + "version": "0.2.6", + "bundled": true + } + } + }, + "simple-plist": { + "version": "0.2.1", + "bundled": true, + "requires": { + "bplist-creator": "0.0.7", + "bplist-parser": "0.1.1", + "plist": "2.0.1" + }, + "dependencies": { + "base64-js": { + "version": "1.1.2", + "bundled": true + }, + "plist": { + "version": "2.0.1", + "bundled": true, + "requires": { + "base64-js": "1.1.2", + "xmlbuilder": "8.2.2", + "xmldom": "0.1.27" + } + }, + "xmlbuilder": { + "version": "8.2.2", + "bundled": true + } + } + }, + "stream-buffers": { + "version": "2.2.0", + "bundled": true + }, + "tail": { + "version": "0.4.0", + "bundled": true + }, + "underscore": { + "version": "1.8.3", + "bundled": true + }, + "unorm": { + "version": "1.4.1", + "bundled": true + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true + }, + "uuid": { + "version": "3.0.1", + "bundled": true + }, + "wrappy": { + "version": "1.0.2", + "bundled": true + }, + "xcode": { + "version": "0.9.3", + "bundled": true, + "requires": { + "pegjs": "0.10.0", + "simple-plist": "0.2.1", + "uuid": "3.0.1" + } + }, + "xml-escape": { + "version": "1.1.0", + "bundled": true + }, + "xmlbuilder": { + "version": "4.0.0", + "bundled": true, + "requires": { + "lodash": "3.10.1" + } + }, + "xmldom": { + "version": "0.1.27", + "bundled": true + } + } + }, + "cordova-plugin-ble-central": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/cordova-plugin-ble-central/-/cordova-plugin-ble-central-1.1.4.tgz", + "integrity": "sha1-rZA2mnla1wChuf3WbhnnzkSnicM=" + }, + "cordova-plugin-compat": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-compat/-/cordova-plugin-compat-1.2.0.tgz", + "integrity": "sha1-C8ZXVyduvZIMASzpIOJ0F3V2Nz4=" + }, + "cordova-plugin-device": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-1.1.7.tgz", + "integrity": "sha1-/JQRG+aTJijGaGiTjd89yCyfv+Y=" + }, + "cordova-plugin-dialogs": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/cordova-plugin-dialogs/-/cordova-plugin-dialogs-1.3.4.tgz", + "integrity": "sha1-XMlm7nyZsvW1s934SQAmKLDacVc=" + }, + "cordova-plugin-statusbar": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.3.0.tgz", + "integrity": "sha1-MU4dAJxlkQzf3gNL/KE71QLJ5eA=" + }, + "cordova-plugin-whitelist": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz", + "integrity": "sha1-tehezbv+Wu3tQKG/TuI3LmfZb7Q=" + } + } +} diff --git a/app/package.json b/app/package.json index 14a6739..b98c52b 100644 --- a/app/package.json +++ b/app/package.json @@ -1,12 +1,37 @@ { - "name": "com.sixteenmillimeter.intval3", - "displayName": "INTVAL", - "version": "1.0.0", - "description": "A sample Apache Cordova application that responds to the deviceready event.", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "name": "com.sixteenmillimeter.intval3", + "displayName": "INTVAL", + "version": "1.0.0", + "description": "Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "M McWilliams", + "license": "MIT", + "dependencies": { + "cordova-android": "^6.3.0", + "cordova-ios": "^4.5.4", + "cordova-plugin-ble-central": "^1.1.4", + "cordova-plugin-compat": "^1.2.0", + "cordova-plugin-device": "^1.1.7", + "cordova-plugin-dialogs": "^1.3.4", + "cordova-plugin-statusbar": "^2.3.0", + "cordova-plugin-whitelist": "^1.3.3" + }, + "cordova": { + "plugins": { + "cordova-plugin-whitelist": {}, + "cordova-plugin-device": {}, + "cordova-plugin-dialogs": {}, + "cordova-plugin-statusbar": {}, + "cordova-plugin-ble-central": { + "BLUETOOTH_USAGE_DESCRIPTION": "INTVAL intervalometer controls" + } }, - "author": "Apache Cordova Team", - "license": "Apache-2.0" + "platforms": [ + "ios", + "android" + ] + } } \ No newline at end of file