nativescript-oauth2

v1.1.4
OAuth 2 login for NativeScript.
NativeScript JavaScript TypeScript Office365 Facebook Google Azure AD iOS Android and 1 more...

tsc

tsc

build

npm i && tsc

build.native

node scripts/build-native.js

postclone

npm i && node scripts/postclone.js && cd ../demo && npm i && npx rimraf -- package-lock.json && cd ../src

test.android

npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch

test.ios

npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch

test.android-angular

npm run tsc && npm run tslint && cd ../demo-angular && tns build android && tns test android --justlaunch

test.ios-angular

npm run tsc && npm run tslint && cd ../demo-angular && tns build ios && tns test ios --justlaunch

test.android-custom

npm run tsc && npm run tslint && cd ../demo-custom-provider && tns build android && tns test android --justlaunch

test.ios-angular-custom

npm run tsc && npm run tslint && cd ../demo-custom-provider && tns build ios && tns test ios --justlaunch

tslint

cd .. && tslint "**/*.ts" --config tslint.json --exclude "**/node_modules/**" --exclude "**/platforms/**" --exclude "**/demo*/**"

plugin.tscwatch

npm run tsc -- -w

demo.ios

npm run tsc && cd ../demo && tns run ios --syncAllFiles --emulator

demo.android

npm run tsc && cd ../demo && tns run android --syncAllFiles --emulator

demo.ios-angular

npm run tsc && cd ../demo-angular && tns run ios --syncAllFiles --emulator

demo.android-angular

npm run tsc && cd ../demo-angular && tns run android --syncAllFiles --emulator

demo.ios-vue

npm run tsc && cd ../demo-vue && tns run ios --bundle --syncAllFiles --emulator

demo.android-vue

npm run tsc && cd ../demo-vue && tns run android --bundle --syncAllFiles --emulator

demo.ios-custom

npm run tsc && cd ../demo-custom-provider && tns run ios --syncAllFiles --emulator

demo.android-custom

npm run tsc && cd ../demo-custom-provider && tns run android --syncAllFiles --emulator

demo.reset

cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json

plugin.prepare

npm run build && cd ../demo && tns plugin remove nativescript-oauth && tns plugin add ../src

clean

npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i

ci.tslint

npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'

Metadata

  • MIT
  • Whatever
  • Alexander Ziskind
  • released 11/29/2018

Downloads

Maintainers