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" } }