fix mocha test path

This commit is contained in:
2016-04-14 17:44:42 -07:00
parent d0abad344a
commit 9c285514d4

View File

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