add mocha-only script
This commit is contained in:
@@ -4,7 +4,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"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",
|
"build": "babel src --out-dir lib",
|
||||||
"prepublish": "npm run test"
|
"prepublish": "npm run test"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user