UNPKG

nativescript-advanced-webview

Version:

An advanced webview using Chrome CustomTabs on Android and SFSafariViewController on iOS.

77 lines (76 loc) 2.59 kB
{ "name": "nativescript-advanced-webview", "version": "7.0.2", "description": "An advanced webview using Chrome CustomTabs on Android and SFSafariViewController on iOS.", "main": "advanced-webview", "typings": "index.d.ts", "nativescript": { "platforms": { "android": "2.0.0", "ios": "2.3.0" } }, "repository": { "type": "git", "url": "https://github.com/bradmartin/nativescript-advanced-webview.git" }, "keywords": [ "NativeScript", "nativescript-advanced-webview", "Chrome Custom Tabs", "SafariViewController", "Safari", "Chrome", "BradMartin" ], "author": { "name": "Brad Martin", "url": "https://github.com/bradmartin", "email": "bradwaynemartin@gmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/bradmartin/nativescript-advanced-webview/issues" }, "homepage": "https://github.com/bradmartin/-advanced-webview", "readmeFilename": "README.md", "scripts": { "clean": "npx rimraf node_modules package-lock.json && npm i", "tsc": "tsc -skipLibCheck", "build": "npm i && ts-patch install && tsc", "build.native": "node scripts/build-native.js", "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\" --exclude \"*demo*/platforms/**\"", "demo.ios": "npm run build && cd ../demo && tns run ios --no-hmr", "demo.android": "npm run build && cd ../demo && tns run android --no-hmr", "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/types/**'", "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!'", "prepack": "npm run build", "make-changelog": "cd ../ && github_changelog_generator -u bradmartin -p nativescript-advanced-webview --token=<TOKEN>" }, "lint-staged": { "**/*.{js, css, ts, json, scss, html, xml, md}": [ "prettier --write", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "devDependencies": { "@nativescript/core": "^8.1.0", "@nativescript/types": "^8.1.0", "@nativescript/webpack": "~5.0.0", "husky": "~4.3.0", "lint-staged": "^10.4.0", "prettier": "^2.1.2", "rimraf": "^3.0.2", "prompt": "^1.0.0", "ts-node": "^9.0.0", "ts-patch": "^1.3.0", "tslint": "~6.1.3", "typescript": "~4.3.5", "semver": "^7.3.5" } }