Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coffeelint: no unnecessary double quotes, no empty functions \n conso…
…lidate package.json
- Loading branch information
Showing
32 changed files
with
1,080 additions
and
1,069 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,45 @@ | ||
{ | ||
"name": "redditmusicplayer-builder", | ||
"name": "redditmusicplayer-server", | ||
"version": "0.5.17", | ||
"description": "Builder for Music Player for Reddit", | ||
"scripts": { | ||
"start": "coffee server/server.coffee" | ||
}, | ||
"description": "Music Player for Reddit Server", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:musicplayer-io/redditmusicplayer.git" | ||
}, | ||
"scripts": { | ||
"start": "coffee server/server.coffee", | ||
"test": "node_modules/grunt-cli/bin/grunt test" | ||
}, | ||
"main": "server.coffee", | ||
"author": "Ilias Ismanalijev", | ||
"license": "GPLv3", | ||
"dependencies": { | ||
"body-parser": "^1.12.4", | ||
"coffee-script": "^1.9.2", | ||
"connect-redis": "^3.0.1", | ||
"cookie-parser": "^1.3.4", | ||
"express": "^4.8.8", | ||
"express-session": "^1.11.2", | ||
"jade": "^1.9.2", | ||
"js-yaml": "^3.3.1", | ||
"lodash": "^3.9.3", | ||
"morgan": "^1.5.3", | ||
"passport": "^0.3.0", | ||
"passport-reddit": "git+https://github.com/musicplayer-io/passport-reddit.git", | ||
"passport.socketio": "^3.5.1", | ||
"redis": "^2.2.5", | ||
"request": "^2.55.0", | ||
"socket.io": "^1.3.5" | ||
}, | ||
"devDependencies": { | ||
"coffeelint": "^1.13.0", | ||
"grunt": "^0.4.5", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-coffeelint": "0.0.13", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-coffee": "^0.13.0", | ||
"grunt-contrib-less": "^1.0.1", | ||
"grunt-contrib-uglify": "^0.9.1", | ||
"grunt-contrib-uglify": "^0.9.2", | ||
"grunt-contrib-watch": "^0.6.1" | ||
}, | ||
"devDependencies": { | ||
"coffeelint": "^1.10.1", | ||
"grunt-coffeelint": "0.0.13", | ||
"grunt-contrib-clean": "^0.6.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
# Dependencies | ||
express = require "express" | ||
express = require 'express' | ||
|
||
# Server development configuration | ||
module.exports = -> | ||
# Output sensible errors with the full stack trace | ||
@use express.errorHandler | ||
dumpExceptions: true | ||
showStack: true | ||
showStack: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
# Dependencies | ||
express = require "express" | ||
express = require 'express' | ||
|
||
# Server production configuration | ||
module.exports = -> | ||
# Simple error reporting - should display a 500 page | ||
@use express.errorHandler() | ||
@use express.errorHandler() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
if process.env.NODE_ENV is "production" | ||
if process.env.NODE_ENV is 'production' | ||
module.exports = | ||
base: "https://ssl.reddit.com/api" | ||
client_id: "YOUR_CLIENT_ID" | ||
client_secret: "YOUR_SECRET" | ||
secret: "YOUR_SECRET" | ||
redirect_uri: "https://example.com/auth/reddit/callback" | ||
scope: "identity,read,save,vote,submit" | ||
base: 'https://ssl.reddit.com/api' | ||
client_id: 'YOUR_CLIENT_ID' | ||
client_secret: 'YOUR_SECRET' | ||
secret: 'YOUR_SECRET' | ||
redirect_uri: 'https://example.com/auth/reddit/callback' | ||
scope: 'identity,read,save,vote,submit' | ||
else | ||
module.exports = | ||
base: "https://ssl.reddit.com/api" | ||
client_id: "YOUR_CLIENT_ID_DEV" | ||
client_secret: "YOUR_SECRET_DEV" | ||
secret: "YOUR_SECRET_DEV" | ||
redirect_uri: "http://localhost:4008/auth/reddit/callback" | ||
scope: "identity,read,save,vote,submit" | ||
base: 'https://ssl.reddit.com/api' | ||
client_id: 'YOUR_CLIENT_ID_DEV' | ||
client_secret: 'YOUR_SECRET_DEV' | ||
secret: 'YOUR_SECRET_DEV' | ||
redirect_uri: 'http://localhost:4008/auth/reddit/callback' | ||
scope: 'identity,read,save,vote,submit' |
Oops, something went wrong.