"client:tsc": "cd client && npm run tsc",
"client:tsc:watch": "cd client && npm run tsc:w",
"client:tsc:clean": "cd client && find angular -regextype posix-egrep -regex \".*\\.(js|map)$\" -exec rm -f {} \\;",
- "dev": "npm run build && concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"",
+ "dev": "npm run build && NODE_ENV=test concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"",
"livereload": "livereload ./client",
"start": "node server",
- "test": "standard && mocha server/tests",
+ "test": "cd client && npm test && cd .. && standard && mocha server/tests",
"postinstall": "cd client && npm install"
},
"dependencies": {
"async": "^1.2.1",
- "bittorrent-tracker": "^7.0.0",
+ "bittorrent-tracker": "^8.0.0",
"body-parser": "^1.12.4",
"concurrently": "^2.0.0",
"config": "^1.14.0",
"dezalgo": "^1.0.3",
"electron-spawn": "https://github.com/Chocobozzz/electron-spawn",
"express": "^4.12.4",
+ "express-oauth-server": "https://github.com/oauthjs/express-oauth-server",
"express-validator": "^2.11.0",
"js-yaml": "^3.5.4",
"lodash-node": "^3.10.2",
"mongoose": "^4.0.5",
"morgan": "^1.5.3",
"multer": "^1.1.0",
- "node-ipc": "^6.0.0",
- "openssl-wrapper": "https://github.com/Chocobozzz/node-openssl-wrapper",
+ "node-ipc": "^7.0.0",
+ "openssl-wrapper": "^0.2.3",
"request": "^2.57.0",
"request-replay": "^1.0.2",
"segfault-handler": "^1.0.0",
"ursa": "^0.9.1",
"validator": "^5.0.0",
- "webtorrent": "^0.85.1",
+ "webtorrent": "^0.89.0",
"winston": "^2.1.1",
"ws": "^1.0.1"
},