nativescript-advanced-permissions

v1.2.0
Permissions for both Android and IOS.
NativeScript JavaScript Android iOS permissions

tsc

tsc -skipLibCheck

build

npm i && tsc && npm run build.native

build.native

node scripts/build-native.js

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-advanced-permissions && 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 && npm run package && cd ../demo && tns plugin remove nativescript-advanced-permissions && tns plugin add ../publish/package/*.tgz && tns install

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/**'

ci.preparedemo

npm run build && npm run package && cd ../demo && tns plugin remove nativescript-advanced-permissions && tns plugin add ../publish/package/*.tgz && tns install

package

cd ../publish && rimraf ./package && ./pack.sh
npm i nativescript-advanced-permissions

Metadata

Downloads

Maintainers