Browse files

it is not necessary to install mocha globally

  • Loading branch information...
1 parent 6b6b310 commit 6d2ef832a0fa1113764ddcd216f216e7fbf463a3 @fibo committed Jan 18, 2013
Showing with 6 additions and 13 deletions.
  1. +3 −11 README.md
  2. +3 −2 package.json
View
14 README.md
@@ -87,20 +87,14 @@ See the [Wiki] (https://github.com/fibo/algebra/wiki).
## Coding style
-See [Felix's Node.js Style Guide] (http://nodeguide.com/style.html).
+This project coding style refers to [Felix's Node.js Style Guide] (http://nodeguide.com/style.html).
## Testing
-Install mocha globally
-
- npm install mocha -g
-
-Then run tests
+Say hello to the nyan cat :)
npm test
-( and say hello to the nyan cat :)
-
## Browserify
Install browserify globally
@@ -109,7 +103,5 @@ Install browserify globally
Build algebra client lib
- browserify index.js algebra.js
-
-*TODO* grunt build task, browserify + uglify
+ browserify index.js -o algebra.js
View
5 package.json
@@ -4,7 +4,7 @@
"description": "Vectors, Matrices and ... ",
"main": "index.js",
"scripts": {
- "test": "mocha --bail --recursive --reporter nyan"
+ "test": "mocha --bail --recursive --reporter nyan",
},
"repository": {
"type": "git",
@@ -19,7 +19,8 @@
"author": "fibo",
"license": "BSD",
"devDependencies": {
- "mocha": "1.4.2"
+ "mocha": "1.4.2",
+ "browserify": "*"
},
"engines": {
"node": ">=0.8"

0 comments on commit 6d2ef83

Please sign in to comment.