2
0
Преглед на файлове

'npm test' modularized a bit

Herbert Vojčík преди 8 години
родител
ревизия
1206537976
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      package.json

+ 3 - 1
package.json

@@ -26,7 +26,9 @@
     "node": "0.10.x || 0.12.x || >=4.0.0"
   },
   "scripts": {
-    "test": "grunt test && cd external && cd amber-cli && npm test && cd .. && cd .."
+    "test": "npm run test:sunit && npm run test:e2e",
+    "test:sunit": "grunt test",
+    "test:e2e": "(cd external && cd amber-cli && npm test)"
   },
   "devDependencies": {
     "grunt": "^0.4.0",