UNPKG

@mhealth/cordova-plugin-antitampering

Version:

Verify the integrity of cordova static assets - Android / iOS

75 lines (74 loc) 2.67 kB
{ "_from": "git+https://github.com/henrytranter/cordova-plugin-antitampering.git", "_inBundle": false, "_integrity": "", "_location": "/cordova-plugin-antitampering", "_phantomChildren": {}, "_requested": { "type": "git", "raw": "https://github.com/henrytranter/cordova-plugin-antitampering", "rawSpec": "https://github.com/henrytranter/cordova-plugin-antitampering", "saveSpec": "git+https://github.com/henrytranter/cordova-plugin-antitampering.git", "fetchSpec": "https://github.com/henrytranter/cordova-plugin-antitampering.git", "gitCommittish": null }, "_requiredBy": [ "#USER", "/" ], "_resolved": "git+https://github.com/henrytranter/cordova-plugin-antitampering.git#e3dcd15ad353872e31da4da0c08e087b371ef860", "_spec": "https://github.com/henrytranter/cordova-plugin-antitampering", "_where": "C:\\Users\\Ziyad Gideir\\Projects\\healthhub\\cfhh-mob", "author": "duddu", "bugs": { "url": "https://github.com/duddu/cordova-plugin-antitampering/issues" }, "cordova": { "id": "cordova-plugin-antitampering", "platforms": [ "android", "ios" ] }, "deprecated": false, "description": "Verify the integrity of cordova static assets - Android / iOS", "devDependencies": { "chai": "^3.5.0", "chai-as-promised": "^7.1.0", "colors": "^1.3.0", "eslint": "^6.0.0", "jszip": "^3.2.0", "mocha": "^6.2.0", "wd": "^1.11.0" }, "homepage": "https://github.com/duddu/cordova-plugin-antitampering#readme", "keywords": [ "ecosystem:cordova", "cordova-android", "cordova-ios", "cordova", "anti-tampering", "tampering", "security" ], "license": "MIT", "name": "@mhealth/cordova-plugin-antitampering", "repository": { "type": "git", "url": "git+https://github.com/duddu/cordova-plugin-antitampering.git" }, "scripts": { "appium-android": "mocha tests/appium/android.js", "appium-ios": "mocha tests/appium/ios.js", "lint": "eslint \"+(scripts|tests|www)/**/*.js\"", "sign-tampered-apk": "jarsigner -verbose -keystore $HOME/.android/debug.keystore -storepass android -keypass android $TRAVIS_BUILD_DIR/tests/android-tampered.apk androiddebugkey", "tamper-android": "node tests/tamper/android.js && npm run sign-tampered-apk", "tamper-ios": "npm run zip-ios-pristine-app && node tests/tamper/ios.js && cd $IOS_BUILD_DIR && zip -r $TRAVIS_BUILD_DIR/tests/ios-tampered.zip HelloWorld.app", "zip-ios-pristine-app": "cd $IOS_BUILD_DIR && zip -r $TRAVIS_BUILD_DIR/tests/ios.zip HelloWorld.app" }, "version": "0.4.1", "main": "index.js", "directories": { "test": "tests" } }