@bezlepkin/nativescript-ar
Version:
NativeScript Augmented Reality plugin. ARKit on iOS and (with the help of Sceneform) ARCore on Android.
71 lines (70 loc) • 4.53 kB
JSON
{
"name": "@bezlepkin/nativescript-ar",
"version": "1.0.4",
"description": "NativeScript Augmented Reality plugin. ARKit on iOS and (with the help of Sceneform) ARCore on Android.",
"main": "ar",
"typings": "index.d.ts",
"nativescript": {
"platforms": {
"android": "7.0.0",
"ios": "7.0.0"
}
},
"scripts": {
"tsc": "tsc -skipLibCheck",
"tsc.demo": "npm run tsc ../demo/app/*.ts",
"build": "npm i && npm run tsc",
"postclone": "npm i && 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/**' --exclude '**/tns_modules/**' --exclude '**/typings/**' --exclude '**/platforms/**'",
"plugin.link": "npm link && cd ../demo && npm link nativescript-ar && cd ../src",
"plugin.tscwatch": "npm run tsc -- -w",
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios",
"demo.android": "npm i && npm run tsc && tns plugin build && npm run tsc.demo && cd ../demo && tns run android",
"demo.plainjs.ios": "npm i && npm run tsc && cd ../demo-plainjs && tns run ios",
"demo.plainjs.android": "npm i && npm run tsc && tns plugin build && cd ../demo-plainjs && tns run android",
"demo.solarsystem.ios": "npm i && npm run tsc && cd ../publish && ./pack.sh && cd ../demo-solarsystem && tns plugin remove nativescript-ar && tns plugin add ../publish/package/*.tgz && tsc -skipLibCheck app/*.ts && tns run ios --bundle",
"demo.solarsystem.android": "npm i && npm run tsc && tns plugin build && cd ../publish && ./pack.sh && cd ../demo-solarsystem && tns plugin remove nativescript-ar && tns plugin add ../publish/package/*.tgz && tsc -skipLibCheck app/*.ts && tns run android --bundle",
"demo.pokemon.ios": "npm i && npm run tsc && cd ../publish && ./pack.sh && cd ../demo-pokemon && tns plugin remove nativescript-ar && tns plugin add ../publish/package/*.tgz && tsc -skipLibCheck && tns run ios",
"demo.pokemon.android": "npm i && npm run tsc && tns plugin build && cd ../publish && ./pack.sh && cd ../demo-pokemon && tns plugin remove nativescript-ar && tns plugin add ../publish/package/*.tgz && tsc -skipLibCheck && tns run android",
"demo.glasses.ios": "npm i && npm run tsc && cd ../publish && ./pack.sh && cd ../demo-glasses && tns plugin remove nativescript-ar && tns plugin add ../publish/package/*.tgz && tsc -skipLibCheck && tns run ios",
"demo.glasses.android": "npm i && npm run tsc && tns plugin build && cd ../publish && ./pack.sh && cd ../demo-glasses && tns plugin remove nativescript-ar && tns plugin add ../publish/package/*.tgz && tsc -skipLibCheck && tns run android",
"plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-ar && 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/**' --exclude '**/typings/**'",
"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-ng/typings!'",
"generate.typings.android": "java -jar ../../android-dts-generator/dts-generator/build/libs/dts-generator.jar -input ./classes.jar -output typings/android/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Bezlepkin/nativescript-ar.git"
},
"keywords": [
"ecosystem:nativescript",
"NativeScript",
"TypeScript",
"Android",
"iOS",
"AR",
"ARKit",
"ARCore",
"Augmented Reality"
],
"author": "Eddy Verbruggen <eddyverbruggen@gmail.com> (https://github.com/eddyverbruggen)",
"bugs": {
"url": "https://github.com/EddyVerbruggen/nativescript-ar/issues"
},
"license": "MIT",
"homepage": "https://github.com/EddyVerbruggen/nativescript-ar",
"devDependencies": {
"nativescript-dev-typescript": "~0.10.0",
"rimraf": "^3.0.2",
"@nativescript/core": "~7.1.4",
"@nativescript/types": "~7.1.0",
"tslint": "~6.1.3",
"typescript": "~4.1.3"
},
"dependencies": {},
"bootstrapper": "nativescript-plugin-seed"
}