Switch to Koa, more es6

This commit is contained in:
Jonathan Cremin 2015-06-03 21:45:54 -07:00
parent 1090affc9c
commit b3abff99ae
36 changed files with 25573 additions and 928 deletions

View file

@ -3,13 +3,13 @@
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"test": "./node_modules/mocha/bin/mocha test/**/*.js --timeout=10000",
"build": "browserify ./views/app.jsx | uglifyjs -cm 2>/dev/null > ./public/javascript/bundle.js",
"start": "babel-node app.js",
"test": "mocha --require co-mocha --compilers js:babel/register test/**/*.js --timeout=10000",
"build": "browserify -t babelify ./views/app.jsx > ./public/javascript/bundle.js",
"clean": "rm -f ./public/javascript/bundle.js"
},
"engines": {
"node": "0.12.x"
"iojs": "2.2.1"
},
"browserify": {
"transform": [
@ -22,38 +22,39 @@
]
},
"dependencies": {
"bluebird": "^2.4.2",
"body-parser": "~1.10.0",
"browserify": "^7.0.0",
"compression": "^1.2.2",
"connect-browserify": "^3.2.1",
"connect-flash": "^0.1.1",
"cookie-parser": "~1.3.3",
"crypto-js": "^3.1.2-5",
"debug": "~2.1.0",
"envify": "^3.2.0",
"express": "~4.10.6",
"express-session": "^1.9.2",
"helmet": "^0.5.2",
"moment": "^2.9.0",
"morgan": "~1.5.0",
"node-jsx": "^0.12.4",
"babel": "^5.2.17",
"babelify": "^6.0.2",
"bluebird": "^2.9.25",
"browserify": "^10.1.3",
"co": "^4.5.4",
"debug": "^2.1.1",
"koa": "^0.21.0",
"koa-bodyparser": "^2.0.0",
"koa-compress": "^1.0.8",
"koa-favicon": "^1.2.0",
"koa-logger": "^1.2.2",
"koa-route": "^2.4.0",
"koa-static": "^1.4.9",
"moment": "^2.10.3",
"mongodb-promisified": "^1.0.2",
"node-uuid": "^1.4.2",
"playmusic": "^2.0.2",
"promised-mongo": "^0.11.1",
"playmusic": "^2.0.0",
"rdio": "^1.5.2",
"react": "^0.12.1",
"react": "^0.13.3",
"react-google-analytics": "^0.2.0",
"react-router": "^0.11.6",
"reactify": "^0.17.1",
"serve-favicon": "~2.2.0",
"react-router": "^0.13.3",
"reactify": "^1.1.1",
"spotify": "^0.3.0",
"superagent": "^0.21.0",
"superagent-bluebird-promise": "^0.5.1",
"uglify-js": "^2.4.16"
"superagent": "^1.2.0",
"superagent-bluebird-promise": "^2.0.2"
},
"devDependencies": {
"should": "^4.4.1",
"mocha": "^2.0.1"
"co-mocha": "^1.1.0",
"eslint": "^0.22.1",
"eslint-plugin-react": "^2.5.0",
"mocha": "^2.1.0",
"nodemon": "^1.3.7",
"parallelshell": "^1.1.1",
"should": "^6.0.3"
}
}