UNPKG

nativescript-ssoauth

Version:

An advanced webview using Chrome CustomTabs on Android and SFSafariViewController on iOS.

79 lines (78 loc) 3.04 kB
{ "name": "nativescript-ssoauth", "version": "1.0.0", "description": "An advanced webview using Chrome CustomTabs on Android and SFSafariViewController on iOS.", "main": "ssoauth", "typings": "index.d.ts", "nativescript": { "platforms": { "android": "5.0.0", "ios": "5.0.0" } }, "repository": { "type": "git", "url": "https://github.com/dinodujmovic/nativescript-ssoauth.git" }, "keywords": [ "NativeScript", "nativescript-ssoauth", "Chrome Custom Tabs", "SafariViewController", "Safari", "Chrome", "TypeScript", "BradMartin", "Thorum", "Android" ], "author": { "name": "Dino Dujmovic", "email": "dino7dujmovic@gmail.com" }, "license": "MIT", "homepage": "https://github.com/dinodujmovic/nativescript-ssoauth", "readmeFilename": "README.md", "scripts": { "debug.ios": "npm run preparedemo && cd ../demo && tns debug ios --emulator", "debug.android": "npm run preparedemo && cd ../demo && tns debug android --emulator", "preparedemo": "npm run build && cd ../demo && tns plugin add ../src && tns install", "nuke": "rm -rf node_modules && cd ../demo && rm -rf node_modules && cd ..", "setup": "npm i && cd ../demo && npm i && cd .. && npm run build && cd ../demo && tns plugin remove nativescript-ssoauth; tns plugin add .. && cd ..", "start": "npm run demo.android", "precommit": "lint-staged", "tsc": "tsc -skipLibCheck", "build": "npm i && tsc && npm run build.native", "build.native": "node scripts/build-native.js", "postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link", "test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", "test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", "plugin.link": "npm link && cd ../demo && npm link nativescript-ssoauth && cd ../src", "plugin.tscwatch": "npm run tsc -- -w", "demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles", "demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", "demo.reset": "cd ../demo && rimraf platforms", "plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-ssoauth && tns plugin add ../src", "clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'", "prepack": "npm run build.native" }, "lint-staged": { "*.{ts, js, json, scss, css, md}": [ "tslint", "prettier --write", "git add" ] }, "devDependencies": { "husky": "^0.14.3", "lint-staged": "^7.2.0", "prettier": "^1.13.7", "tns-core-modules": "^5.1.2", "tns-platform-declarations": "^5.2.2", "rimraf": "^2.6.2", "tslint": "~5.9.1", "typescript": "^2.8.1" } }