Build sources in npm test.

This commit is contained in:
Julien Fontanet 2015-04-01 16:30:51 +02:00
parent 9051322338
commit 10d7cd1520

View File

@ -39,7 +39,7 @@
"build": "mkdir --parents dist && babel --optional=runtime --compact=true --source-maps --out-dir=dist/ src/",
"dev": "mkdir --parents dist && babel --watch --optional=runtime --compact=true --source-maps --out-dir=dist/ src/",
"prepublish": "npm build",
"test": "standard && mocha 'dist/**/*.spec.js'",
"test": "standard && npm run build && mocha 'dist/**/*.spec.js'",
"test-dev": "standard && mocha --watch --reporter=min 'dist/**/*.spec.js'"
},
"standard": {