chore(tests): add build to allow es6 in tests

This commit is contained in:
Stephan Bönnemann 2015-06-12 10:22:57 -07:00
parent 4e90e4b98b
commit 384bc63e5d
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
node_modules node_modules
*.log *.log
.tmp .tmp
.tests
# build-artifacts # build-artifacts
dist dist

View File

@ -2,6 +2,7 @@
node_modules node_modules
*.log *.log
.tmp .tmp
.tests
# source/config # source/config
src src

View File

@ -67,8 +67,9 @@
"postpublish": "./bin/semantic-release.js post", "postpublish": "./bin/semantic-release.js post",
"prepublish": "npm run build && ./bin/semantic-release.js pre", "prepublish": "npm run build && ./bin/semantic-release.js pre",
"pretest": "npm run build", "pretest": "npm run build",
"pretest:integration": "rm -rf .tests && mkdir -p .tests && babel tests --out-dir .tests",
"test": "./bin/test", "test": "./bin/test",
"test:integration": "tap tests/{scenarios,tap}/*.js", "test:integration": "tap .tests/{scenarios,tap}/*.js",
"test:style": "standard" "test:style": "standard"
} }
} }