diff --git a/bin/viffserver b/bin/viffserver index c8f5ab8..e3908ab 100755 --- a/bin/viffserver +++ b/bin/viffserver @@ -1,3 +1,3 @@ #!/usr/bin/env node -require('../lib/server/index.server.js') \ No newline at end of file +require('../lib/index.server.js') diff --git a/package.json b/package.json index 942ca19..eff35eb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "viff", "description": "Find virtual differences between web pages in different environments(developing, staging, production) and browsers.", - "version": "0.8.5", + "version": "0.8.6", "homepage": "https://github.com/winsonwq/viff", "author": { "name": "Wang Qiu", diff --git a/src/server/index.server.coffee b/src/index.server.coffee similarity index 92% rename from src/server/index.server.coffee rename to src/index.server.coffee index d2891e1..1587b13 100644 --- a/src/server/index.server.coffee +++ b/src/index.server.coffee @@ -3,11 +3,11 @@ http = require 'http' multipart = require 'connect-multiparty' fs = require 'fs' -Viff = require '../viff' -imgGen = require '../image.generator' -Testcase = require '../testcase' -Capability = require '../capability' -require '../color.helper.js' +Viff = require './viff' +imgGen = require './image.generator' +Testcase = require './testcase' +Capability = require './capability' +require './color.helper.js' cases = {} endSignal = 0