Browse Source

'npm test' modularized a bit

Herbert Vojčík 9 years ago
parent
commit
f20e29521c
1 changed files with 3 additions and 1 deletions
  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",