nativescript-photoviewer
Advanced tools
Comparing version 1.5.0 to 2.0.0
{ | ||
"name": "nativescript-photoviewer", | ||
"description": "A simple Photo-viewer component for NativeScript based on NYTPhotoViewer pod for iOS and ImageGalleryViewer for Android.", | ||
"main": "index", | ||
"version": "1.5.0", | ||
"main": "photoviewer", | ||
"typings": "photoviewer.d.ts", | ||
"version": "2.0.0", | ||
"nativescript": { | ||
"platforms": { | ||
"ios": "0.0.1", | ||
"android": "0.0.1" | ||
"ios": "3.0.0", | ||
"android": "3.0.0" | ||
}, | ||
"plugin": { | ||
"nan": "true", | ||
"core3": "false", | ||
"pan": "true", | ||
"wrapper": "false", | ||
"category": "Interface" | ||
} | ||
}, | ||
"scripts": { | ||
"tsc": "tsc -skipLibCheck", | ||
"build": "npm i && npm run tsc", | ||
"link": "npm i && cd ../demo && npm i && cd ../src && npm run plugin.link", | ||
"demo.reset": "cd ../demo && rimraf platforms", | ||
"demo.ios": "npm run preparedemo && cd ../demo && tns run ios --syncAllFiles", | ||
"demo.ios.device": "npm run preparedemo && cd ../demo && tns platform remove ios && tns run ios", | ||
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles", | ||
"test": "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android", | ||
"test.ios": "cd ../demo && tns platform remove ios && tns test ios --emulator", | ||
"test.ios.device": "cd ../demo && tns platform remove ios && tns test ios", | ||
"test.android": "cd ../demo && tns platform remove android && tns test android --justlaunch", | ||
"preparedemo": "npm run build && cd ../demo && tns plugin remove nativescript-photoviewer && tns plugin add ../src && tns install", | ||
"setup": "npm run build && cd ../demo && npm i", | ||
"plugin.link": "npm link && cd ../demo && npm link nativescript-photoviewer && cd ../src", | ||
"plugin.tscwatch": "npm run tsc -- -w", | ||
"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/**'", | ||
"tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'", | ||
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'", | ||
"prepublishOnly": "npm run build", | ||
"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": { | ||
@@ -37,3 +70,14 @@ "type": "git", | ||
"homepage": "https://github.com/manijak/nativescript-photoviewer", | ||
"readmeFilename": "README.md" | ||
"readmeFilename": "README.md", | ||
"devDependencies": { | ||
"typescript": "~2.8.2", | ||
"tns-core-modules": "~5.2.2", | ||
"tns-platform-declarations": "~5.2.2", | ||
"tslint": "^5.14.0", | ||
"husky": "^1.3.1", | ||
"lint-staged": "^8.1.5", | ||
"prompt": "^1.0.0", | ||
"rimraf": "^2.6.3", | ||
"semver": "^5.6.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
34218
13
288
9
2
0
2