add mocha-only script

This commit is contained in:
2016-04-18 16:34:30 -07:00
parent 22d9ffcefe
commit fb4caf4dc1

View File

@@ -4,7 +4,8 @@
"description": "",
"main": "lib/index.js",
"scripts": {
"test": "npm run build && mocha --compilers js:babel-core/register test/src/**",
"test": "npm run build && npm run mocha",
"mocha": "mocha --compilers js:babel-core/register test/src/**",
"build": "babel src --out-dir lib",
"prepublish": "npm run test"
},