浏览代码

add test script and specific mocha/should version in package.json

Pascal Deschenes 12 年之前
父节点
当前提交
803efa03af
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      package.json

+ 5 - 2
package.json

@@ -2,6 +2,9 @@
     "name": "showdown",
     "version": "0.2.0",
     "author": "John Fraser",
+    "scripts": {
+        "test": "mocha ./test/run.js"
+    },
     "contributors": [
         "John Gruber",
         "John Fraser",
@@ -19,8 +22,8 @@
         "web":  "https://github.com/coreyti/showdown"
     },
     "devDependencies": {
-        "mocha": "*",
-        "should": "*"
+        "mocha": "1.3.0",
+        "should": "1.2.0"
     },
     "licenses": [{
         "type": "BSD",