diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/package.json b/package.json index eb3a3b09e..ef570fb94 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,13 @@ "private": true, "scripts": { "start": "gulp dev", - "test": "mocha --require test/helper.js --compilers js:babel-register --recursive", - "watch": "mocha watch --compilers js:babel-register --recursive", + "test": "mocha --require test/helper.js --compilers js:babel-register --recursive \"test/unit/**/*.js\" && npm run ci", + "watch": "mocha watch --compilers js:babel-register --recursive \"test/unit/**/*.js\"", "ui": "node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", - "mock": "beefy mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./" + "mock": "beefy mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", + "buildMock": "browserify ./mock-dev.js -o ./development/bundle.js", + "testem": "npm run buildMock && testem", + "ci": "npm run buildMock && testem ci -P 2" }, "browserify": { "transform": [ @@ -96,6 +99,7 @@ "mocha-jsdom": "^1.1.0", "mocha-sinon": "^1.1.5", "qs": "^6.2.0", + "qunit": "^0.9.1", "sinon": "^1.17.3", "tape": "^4.5.1", "uglifyify": "^3.0.1", |