From 384bc63e5d76ef4135680a5d08c3860a1b8dc7d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6nnemann?= Date: Fri, 12 Jun 2015 10:22:57 -0700 Subject: [PATCH] chore(tests): add build to allow es6 in tests --- .gitignore | 1 + .npmignore | 1 + package.json | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ac1ff97c..225b7875 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ node_modules *.log .tmp +.tests # build-artifacts dist diff --git a/.npmignore b/.npmignore index 8f8a5d6a..96afab14 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,7 @@ node_modules *.log .tmp +.tests # source/config src diff --git a/package.json b/package.json index 496cb443..1dcb3402 100644 --- a/package.json +++ b/package.json @@ -67,8 +67,9 @@ "postpublish": "./bin/semantic-release.js post", "prepublish": "npm run build && ./bin/semantic-release.js pre", "pretest": "npm run build", + "pretest:integration": "rm -rf .tests && mkdir -p .tests && babel tests --out-dir .tests", "test": "./bin/test", - "test:integration": "tap tests/{scenarios,tap}/*.js", + "test:integration": "tap .tests/{scenarios,tap}/*.js", "test:style": "standard" } }