Browse Source

Merge pull request #67 from connor4312/dev-depend

Move devdeps, update readme
Jake 10 năm trước cách đây
mục cha
commit
7380ab46b8
2 tập tin đã thay đổi với 10 bổ sung8 xóa
  1. 4 4
      README.md
  2. 6 4
      package.json

+ 4 - 4
README.md

@@ -19,10 +19,10 @@ Please [visit the website](https://crafatar.com) for details.
 
 ## Install
 
-* Clone the repository
-* Install [node-canvas](https://github.com/Automattic/node-canvas/wiki#desktop) dependencies.
+* Ensure Cairo is [installed](https://github.com/Automattic/node-canvas/wiki).
+* Clone the repository.
 * `npm install`
-* `redis-server`
 * `cp "modules/config.example.js" "modules/config.js"`
+* Ensure a `redis-server` is running
 * `node server.js`
-* Access [http://localhost:3000](http://localhost:3000)
+* Access [http://localhost:3000](http://localhost:3000)

+ 6 - 4
package.json

@@ -26,15 +26,17 @@
   },
   "dependencies": {
     "canvas": "1.1.6",
-    "coveralls": "^2.11.2",
-    "istanbul": "^0.3.2",
     "jade": "~1.8.2",
     "lwip": "0.0.6",
-    "mocha": "2.1.0",
-    "mocha-lcov-reporter": "0.0.1",
     "redis": "0.12.1",
     "request": "2.51.0",
     "node-df": "0.1.1",
     "mime": "1.2.11"
+  },
+  "devDependencies": {
+    "coveralls": "^2.11.2",
+    "istanbul": "^0.3.2",
+    "mocha": "2.1.0",
+    "mocha-lcov-reporter": "0.0.1"
   }
 }