UNPKG

@altabsrl/nativescript-socket.io

Version:

Full-featured Socket.IO client implementation for NativeScript

64 lines (63 loc) 2.24 kB
{ "name": "@altabsrl/nativescript-socket.io", "version": "0.11.2", "description": "Full-featured Socket.IO client implementation for NativeScript", "main": "socketio", "typings": "index.d.ts", "nativescript": { "platforms": { "ios": "2.0.0", "android": "2.0.0" } }, "scripts": { "build": "tsc", "test": "echo \"Error: no test specified\" && exit 1", "dev": "rm -fr ./nativescript-socket.io-*.tgz ; npm pack ; cd ./demo ; rm -fr ./dev ; tar -xvzf ../nativescript-socket.io-*.tgz ; mv ./package ./dev ; exit", "android-native-type-definition": "cd demo ; tns build android ; java -jar platforms/android/build-tools/dts-generator.jar -input $(find ./ -name 'socket.io-client-*.jar') -input $(find ./ -name 'engine.io-client-*.jar') -input $(find ./ -name 'okhttp-*.jar') -input $(find ./ -name 'okio-*.jar') ; cp -f ./out/android.d.ts ../typings/android.d.ts ; rm -fr ./out ; cd ..", "ios-native-type-definition": "cd demo ; TNS_TYPESCRIPT_DECLARATIONS_PATH=$(pwd)/typings tns build ios ; cp -f './typings-x86_64/objc!SocketIO.d.ts' ../typings/ios.d.ts ; rm -fr ./typings* ; cd .." }, "repository": { "type": "git", "url": "https://github.com/Altab-S-R-L/nativescript-socket.io" }, "keywords": [ "NativeScript", "ecosystem:nativeScript", "JavaScript", "TypeScript", "Android", "iOS", "WebSocket", "Socket.IO", "SocketIO", "Socket" ], "author": "Antony Rizzitelli <antony@altab.be>", "license": "Unlicense", "contributors": [ { "name": "Nader Toukabri", "url": "https://github.com/naderio" }, { "name": "Ludovic Fabrèges", "url": "https://github.com/lfabreges" } ], "bugs": { "url": "https://github.com/naderio/nativescript-socket.io/issues" }, "homepage": "https://github.com/naderio/nativescript-socket.io#readme", "devDependencies": { "chai": "4.1.2", "karma": "1.7.1", "karma-chai": "0.1.0", "karma-mocha": "1.3.0", "karma-nativescript-launcher": "0.4.0", "mocha": "4.0.1", "tns-core-modules": "3.2.0", "tns-platform-declarations": "3.2.0", "typescript": "^3.5.3" } }