Don't compile tests file with babel

This commit is contained in:
Samy Pesse
2016-10-03 18:41:25 +02:00
parent cefbfdc7b8
commit 026cc8304d
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -28,7 +28,6 @@ node_modules
*.swp
# GitBook with babel
/packages/gitbook/lib
/packages/gitbook-core/lib
/packages/gitbook-plugin/lib
+1
View File
@@ -0,0 +1 @@
lib
+1 -1
View File
@@ -69,7 +69,7 @@
},
"scripts": {
"test": "./node_modules/.bin/mocha ./testing/setup.js \"./src/**/*/__tests__/*.js\" --bail --reporter=list --timeout=10000 --compilers js:babel-register",
"dist": "rm -rf lib/ && babel -d lib/ src/",
"dist": "rm -rf lib/ && babel -d lib/ src/ --source-maps --ignore \"**/*/__tests__/*.js\"",
"prepublish": "npm run dist"
},
"repository": {