nativescript-https

v1.2.0
Secure HTTP client with SSL pinning for Nativescript - iOS/Android.
secure https http ssl tls pinning nativescript ecosystem:nativescript nativescript-android and 5 more...

tsc

tsc -skipLibCheck

build

npm i && npm run tsc

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

tslint

cd .. && tslint "**/*.ts" --config tslint.json --exclude '**/node_modules/**' --exclude '**/typings/**'

plugin.tscwatch

npm run tsc -- -w

demo.ios

npm run build && cd ../demo && tns run ios

demo.android

npm run build && cd ../demo && tns run android

demo.reset

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

plugin.prepare

npm run build && cd ../demo && tns plugin remove nativescript-https && 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/**' --exclude '**/typings/**'

generate.typings.ios

cd ../demo && TNS_DEBUG_METADATA_PATH="$(pwd)/metadata" tns build ios && TNS_TYPESCRIPT_DECLARATIONS_PATH="$(pwd)/typings" tns build ios && echo 'Now look for your library typings in demo/typings!'

generate.typings.android

echo '##### Download the latest .jar file from https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp and move it to the plugin /src folder' && java -jar ../../android-dts-generator/dts-generator/build/libs/dts-generator.jar -input ./*.jar -output platforms/android/typings/ && rimraf *.jar && echo '##### Done! Deleted the jar, and generated typings in src/platforms/android/typings/'

Metadata

  • MIT
  • Whatever
  • Eddy Verbruggen
  • released 10/6/2019

Downloads

Maintainers