UNPKG

nativescript-image-black-and-white

Version:

A NativeScript plugin to apply a black-and-white filter on Image.

64 lines (63 loc) 2.75 kB
{ "name": "nativescript-image-black-and-white", "version": "1.0.5", "description": "A NativeScript plugin to apply a black-and-white filter on Image.", "main": "image-black-and-white", "typings": "index.d.ts", "nativescript": { "platforms": { "android": "4.0.0", "ios": "4.0.0" } }, "scripts": { "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-image-black-and-white && 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-image-black-and-white && 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" }, "keywords": [ "NativeScript", "Image", "Filter", "Gray", "Black", "White", "Android", "iOS" ], "author": { "name": "Florian Thuin", "email": "florian.thuin@gmail.com" }, "bugs": { "url": "https://github.com/fthuin/nativescript-image-black-and-white/issues" }, "license": "Apache-2.0", "repository": "https://github.com/fthuin/nativescript-image-black-and-white.git", "homepage": "https://github.com/fthuin/nativescript-image-black-and-white", "readmeFilename": "README.md", "devDependencies": { "tns-core-modules": "^4.0.0", "tns-platform-declarations": "^4.0.0", "typescript": "~2.3.0", "prompt": "^1.0.0", "rimraf": "^2.5.0", "tslint": "^5.0.0", "semver": "^5.5.0" }, "dependencies": {}, "bootstrapper": "nativescript-plugin-seed" }