UNPKG

esolution-nativescript-photoviewer

Version:

A simple Photo-viewer component for NativeScript based on NYTPhotoViewer pod for iOS and ImageGalleryViewer for Android.

96 lines (95 loc) 4.36 kB
{ "name": "esolution-nativescript-photoviewer", "description": "A simple Photo-viewer component for NativeScript based on NYTPhotoViewer pod for iOS and ImageGalleryViewer for Android.", "main": "photoviewer", "typings": "photoviewer.d.ts", "version": "3.0.1-alpha-3", "nativescript": { "platforms": { "ios": "7.0.0", "android": "8.3.1" }, "plugin": { "nan": "true", "core3": "true", "pan": "true", "vue": "true", "webpack": "true", "wrapper": "", "category": "Interface" } }, "scripts": { "tsc": "tsc -skipLibCheck --outDir dist", "tsc.dist": "npm run dist.clean && tsc -skipLibCheck --outDir dist && npm run dist.copy", "dist.copy": "cp -R platforms dist && cp ../README.md dist && cp photoviewer.d.ts dist && cp package.json dist", "dist.clean": "rimraf dist", "plugin.tscwatch": "npm run tsc -- -w", "build": "npm i && ts-patch install && npm run tsc.dist", "clean": "npm run demo.clean && npm run demo-ng.clean && npm run demo-js.clean", "demo.clean": "cd ../demo && ns clean", "demo-ng.clean": "cd ../demo-ng && ns clean", "demo-js.clean": "cd ../demo-js && ns clean", "demo.ios": "cd ../demo && ns run ios", "demo.android": "cd ../demo && ns run android", "demo-ng.ios": "cd ../demo-ng && ns run ios", "demo-ng.android": "cd ../demo-ng && ns run android", "demo-js.ios": "cd ../demo-js && ns run ios", "demo-js.android": "cd ../demo-js && ns run android", "demo.ios.build": "cd ../demo && ns build ios", "test": "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android", "preparedemo": "npm run build && cd ../demo && ns plugin remove nativescript-photoviewer && ns plugin add ../src/dist && ns install", "preparedemo-ng": "npm run build && cd ../demo-ng && ns plugin remove nativescript-photoviewer && ns plugin add ../src/dist && ns install", "preparedemo-js": "npm run build && cd ../demo-js && ns plugin remove nativescript-photoviewer && ns plugin add ../src/dist && ns install", "setup": "npm run build && cd ../demo && npm i", "plugin.link": "npm link && cd ../demo && npm link nativescript-photoviewer && cd ../src", "setupandinstall": "npm i && cd ../demo && npm i && cd ../src && npm run build && cd ../demo && tns plugin add ../src && cd ../src", "tslint": "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'", "tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'", "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/typings/**'", "development.setup": "npm run setup && npm link && cd ../demo && npm link nativescript-photoviewer && cd ../src", "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": "java -jar ../../android-dts-generator/dts-generator/build/libs/dts-generator.jar -input ./classes.jar -output platforms/android/typings && rimraf classes.jar && echo '##### Done! Deleted src/classes.jar, and generated typings in src/platforms/android/typings'" }, "repository": { "type": "git", "url": "https://github.com/manijak/nativescript-photoviewer.git" }, "keywords": [ "NativeScript", "Photo", "Photos", "Image", "Images", "Preview", "Gallery", "Development", "JavaScript", "iOS", "Android" ], "author": { "name": "Nedim Erkocevic" }, "bugs": { "url": "https://github.com/manijak/nativescript-photoviewer/issues" }, "license": "MIT", "homepage": "https://github.com/manijak/nativescript-photoviewer", "readmeFilename": "README.md", "devDependencies": { "husky": "^6.0.0", "lint-staged": "~10.5.4", "prettier": "^2.2.1", "@nativescript/core": "~8.0.1", "@nativescript/types": "^8.0.0", "@nativescript/webpack": "^4.1.0", "typescript": "~4.2.4", "ts-patch": "^1.3.2", "prompt": "^1.1.0", "rimraf": "^3.0.2", "tslint": "^6.1.3", "ts-node": "^9.1.1", "semver": "^7.3.5" } }