Remove gm dependency and update tests.

This commit is contained in:
Jonathan Cremin 2016-05-24 21:33:09 +01:00
parent b1ceba7664
commit 75a46212da
8 changed files with 61 additions and 37 deletions

View file

@ -16,7 +16,7 @@
"init": "node -r babel/register -e \"require('./lib/storage')();\"",
"jspm": "jspm install",
"start": "npm run build && node -r babel/register app.js",
"test": "npm run test-seed && mocha -r babel/register test/**/*.spec.js",
"test": "npm run test-seed && mocha -r babel/register test/**/*.spec.js && mocha -r babel/register -r co-mocha test/unit/image-resize.spec.js",
"test-seed": "node test/fixtures/mongo-user.js && node test/fixtures/mongo-file.js",
"watch": "parallelshell \"npm run watch-js\" \"npm run watch-sass\" \"npm run watch-server\"",
"watch-js": "babel -Dw -m system -d web/public/build web/public/src",
@ -34,8 +34,9 @@
"debug": "~2.2.0",
"ejs": "~2.3.2",
"form-data": "^1.0.0-rc3",
"gm": "~1.18.1",
"http-errors": "~1.3.1",
"image-size": "^0.5.0",
"image-type": "^2.1.0",
"jspm": "~0.16.0",
"kcors": "~1.0.1",
"koa": "~1.0.0",
@ -52,6 +53,7 @@
"koa-statsd": "~0.0.2",
"koa-views": "~3.1.0",
"koa-websocket": "~1.1.0",
"lwip": "0.0.9",
"mime-types": "~2.1.5",
"moment": "~2.10.6",
"mongodb-promisified": "~1.0.3",
@ -69,6 +71,7 @@
},
"devDependencies": {
"babel-eslint": "^4.0.10",
"co-mocha": "^1.1.2",
"eslint": "~1.3.0",
"eslint-config-airbnb": "0.0.8",
"istanbul": "~0.3.18",