New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-effects

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-effects - npm Package Compare versions

Comparing version 0.5.0 to 1.0.0

effects.android.d.ts

118

package.json
{
"name": "nativescript-effects",
"version": "0.5.0",
"main": "tns-effects.js",
"description": "A NativeScript plugin that extend animations to include common animation scenarios.",
"nativescript": {
"platforms": {
"android": "1.5.0",
"ios": "1.5.2"
"name": "nativescript-effects",
"version": "1.0.0",
"description": "A NativeScript plugin that extend animations to include common animation scenarios.",
"main": "effects",
"typings": "tns-effects.d.ts",
"nativescript": {
"platforms": {
"android": "3.0.0",
"ios": "3.0.0"
}
},
"tns-ios": {
"version": "1.5.2"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/alexziskind1/nativescript-effects.git"
},
"keywords": [
"NativeScript",
"native",
"script",
"animation",
"effects"
],
"contributors": [
{
"name": "Steve McNiven-Scott",
"email": "steve@sitefinitysteve.com",
"url": "https://github.com/sitefinitysteve"
}
],
"author": {
"name": "Alexander Ziskind",
"email": "alex@nuvious.com",
"url": "https://github.com/alexziskind1"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/alexziskind1/nativescript-effects/issues"
},
"homepage": "https://github.com/alexziskind1/nativescript-effects",
"readmeFilename": "README.md",
"gitHead": "7a5addbe9192a7708fbaac9db42e33f2a156fea6",
"_id": "nativescript-effects@0.1.0",
"scripts": {},
"_shasum": "7bdee571649168a79ded1bf63beb6d7b4b9cfa2a",
"_from": "..",
"_resolved": "file:..",
"devDependencies": {
"tns-core-modules": "^2.5.2",
"tns-platform-declarations": "^2.5.2"
}
"repository": {
"type": "git",
"url": "git+https://github.com/alexziskind1/nativescript-effects.git"
},
"scripts": {
"tsc": "tsc -skipLibCheck",
"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-effects && 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 tsc && cd ../demo && tns plugin remove nativescript-effects && 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/**'"
},
"keywords": [
"NativeScript",
"native",
"script",
"animation",
"effects"
],
"author": {
"name": "Alexander Ziskind",
"email": "alex@nuvious.com",
"url": "https://github.com/alexziskind1"
},
"contributors": [
{
"name": "Steve McNiven-Scott",
"email": "steve@sitefinitysteve.com",
"url": "https://github.com/sitefinitysteve"
}
],
"bugs": {
"url": "https://github.com/alexziskind1/nativescript-effects/issues"
},
"license": "MIT",
"homepage": "https://github.com/alexziskind1/nativescript-effects",
"readmeFilename": "README.md",
"peerDependencies": {
"tns-core-modules": "^3.0.0"
},
"devDependencies": {
"tns-core-modules": "^3.1.0",
"tns-platform-declarations": "^3.1.0",
"typescript": "~2.3.0",
"prompt": "^1.0.0",
"rimraf": "^2.5.0",
"tslint": "^5.0.0"
},
"dependencies": {},
"bootstrapper": "nativescript-plugin-seed"
}

@@ -1,24 +0,32 @@

import { View } from 'ui/core/view';
declare module 'ui/core/view' {
interface View {
fadeIn(duration?: string | number): Promise<void>;
fadeOut(duration?: string | number): Promise<void>;
fadeTo(duration?: string | number, opacity?: number): Promise<void>;
fadeToggle(duration?: string | number): Promise<void>;
import { Common } from './effects.common';
import { View } from 'tns-core-modules/ui/core/view';
floatIn(duration?: string | number, direction?: string): Promise<void>;
floatOut(duration?: string | number, direction?: string): Promise<void>;
declare module 'tns-core-modules/ui/core/view' {
interface View {
fadeIn(duration?: string | number): Promise<void>;
fadeOut(duration?: string | number): Promise<void>;
fadeTo(duration?: string | number, opacity?: number): Promise<void>;
fadeToggle(duration?: string | number): Promise<void>;
show(duration?: string | number): Promise<void>;
hide(duration?: string | number): Promise<void>;
toggle(duration?: string | number): Promise<void>;
floatIn(duration?: string | number, direction?: string): Promise<void>;
floatOut(duration?: string | number, direction?: string): Promise<void>;
slideDown(duration?: string | number, distance?: number): Promise<void>;
slideUp(duration?: string | number, distance?: number): Promise<void>;
slideToggle(duration?: string | number, distance?: number): Promise<void>;
show(duration?: string | number): Promise<void>;
hide(duration?: string | number): Promise<void>;
toggle(duration?: string | number): Promise<void>;
spring(duration?: string | number, animation?: any): Promise<void>;
slideDown(duration?: string | number, distance?: number): Promise<void>;
slideUp(duration?: string | number, distance?: number): Promise<void>;
slideToggle(duration?: string | number, distance?: number): Promise<void>;
shake(): Promise<any>;
}
spring(duration?: string | number, animation?: any): Promise<void>;
shake(): Promise<any>;
}
}
export declare class Effects extends Common {
// define your typings manually
// or..
// take the ios or android .d.ts files and copy/paste them here
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc