diff options
author | Marvin Borner | 2019-01-22 18:27:34 +0100 |
---|---|---|
committer | Marvin Borner | 2019-01-22 18:27:34 +0100 |
commit | 2769bc913d5a426954974f94a4245d5ae4f83faa (patch) | |
tree | b1025b564e22c24c4ae4799547aed7b4164ef2de /package.json | |
parent | 7dd78773cb6c0c3ccfa6784fde98e4ad923b0bc9 (diff) |
Updated peer to peer
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/package.json b/package.json index 98b4c10..66407c7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "decentralized-chat", "version": "1.0.0", - "description": "Using latest JavaScript features on the server", + "description": "Decentralized chatting made easy!", "repository": { "type": "git", "url": "git+https://github.com/vmasto/express-babel.git" @@ -14,13 +14,11 @@ "npm": ">=3.10.0" }, "scripts": { - "prestart": "npm run -s build", - "start": "node dist/index.js", - "dev": "nodemon src/index.js --exec \"node -r dotenv/config -r babel-register\"", - "clean": "rimraf dist", - "build": "npm run clean && mkdir -p dist && babel src -s -D -d dist", - "test": "jest --watch", - "lint": "esw -w src test" + "dev": "nodemon src/index.js --exec \"node -r dotenv/config -r babel-register\" & npm run watch", + "watch": "npm run build && onchange public/styles/* -- npm run css & watchify public/scripts/*.js -o dist/app.js -v", + "css": "node-sass public/styles/main.scss dist/app.css --output-style compressed", + "build": "rm -r dist/* && npm run css && browserify public/scripts/*.js -o dist/app.js && cp public/fonts/* dist/", + "server": "peerjs --port 4242 --key decentralisawesome" }, "keywords": [ "express", @@ -40,24 +38,32 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "body-parser": "^1.18.2", - "express": "^4.16.2", + "drag-drop": "^4.2.0", + "ejs": "^2.6.1", + "express": "^4.16.4", + "jquery": "^3.3.1", "morgan": "^1.9.0", + "nanoid": "^2.0.1", + "node-sass": "^4.11.0", + "onchange": "^5.2.0", + "peer": "^0.2.10", "pug": "^2.0.0-beta11", - "rimraf": "^2.6.2", - "webtorrent": "^0.103.0" + "rimraf": "^2.6.2" }, "devDependencies": { "babel-eslint": "^8.2.3", "babel-jest": "^21.2.0", "babel-register": "^6.26.0", + "browserify": "^16.2.3", "dotenv": "^4.0.0", "eslint": "^4.12.1", "eslint-plugin-import": "^2.11.0", "eslint-plugin-jest": "^21.3.2", "eslint-watch": "^3.1.3", "jest": "^23.6.0", - "nodemon": "^1.12.1", - "supertest": "^3.0.0" + "nodemon": "^1.18.9", + "supertest": "^3.0.0", + "watchify": "^3.11.0" }, "babel": { "presets": [ |