chore(tests): add build to allow es6 in tests
This commit is contained in:
parent
4e90e4b98b
commit
384bc63e5d
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
|||||||
node_modules
|
node_modules
|
||||||
*.log
|
*.log
|
||||||
.tmp
|
.tmp
|
||||||
|
.tests
|
||||||
|
|
||||||
# build-artifacts
|
# build-artifacts
|
||||||
dist
|
dist
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
node_modules
|
node_modules
|
||||||
*.log
|
*.log
|
||||||
.tmp
|
.tmp
|
||||||
|
.tests
|
||||||
|
|
||||||
# source/config
|
# source/config
|
||||||
src
|
src
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user