UNPKG

socketio-file-upload

Version:

Uploads files to a Node.JS server using Socket.IO

54 lines (53 loc) 1.54 kB
{ "name": "socketio-file-upload", "version": "0.7.3", "description": "Uploads files to a Node.JS server using Socket.IO", "keywords": [ "upload", "uploader", "socket", "socket.io" ], "dependencies": {}, "devDependencies": { "browserify": "^16.5.1", "buffer-equals": "^1.0.3", "chrome-location": "^1.2.1", "concat-stream": "^1.6.2", "ecstatic": "^4.1.4", "eslint": "^5.16.0", "google-closure-compiler": "^20181028.0.1", "phantom": "^6.3.0", "socket.io": "=2.1.1", "socket.io-client": "=2.1.1", "tape": "^4.13.3" }, "files": [ "client.js", "client.min.js", "server.js", "README.md" ], "main": "server.js", "browser": "client.js", "scripts": { "lint": "eslint .", "pretest": "browserify test/serve/browser-file-transfer.js -o test/serve/bundle.js", "test": "tape test/*.js", "minify:compile": "google-closure-compiler --js=client.js --js_output_file=client.min.js.tmp", "minify:license": "echo \"$(head -n5 client.min.js)\n$(cat client.min.js.tmp)\" > client.min.js.tmp", "minify:move": "mv client.min.js.tmp client.min.js", "minify": "npm run minify:compile && npm run minify:license && npm run minify:move" }, "repository": { "type": "git", "url": "git://github.com/sffc/socketio-file-upload.git" }, "homepage": "https://github.com/sffc/socketio-file-upload", "author": { "name": "Shane Carr", "email": "shane.carr@wustl.edu" }, "license": "X11", "readmeFilename": "Readme.md" }