From c367102c7190d07d907242e235cfc9e73b994e21 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Sat, 16 May 2015 22:11:22 +0800 Subject: [PATCH] add --harmony --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8f53923..5fe3803 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "index.js" ], "scripts": { - "test": "mocha --check-leaks -R spec -t 5000 test/*.test.js", - "test-cov": "node node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js", - "test-travis": "node node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js", + "test": "mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js", + "test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js", + "test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js", "jshint": "jshint .", "autod": "autod -w --prefix '~'", "cnpm": "npm install --registry=https://registry.npm.taobao.org",