Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

New majors of after-work.js and babel #145

Merged
merged 2 commits into from Oct 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions .babelrc
@@ -1,15 +1,15 @@
{
"presets": [["env", { "modules": false }]],
"plugins": [
["transform-object-assign"],
["transform-runtime", {
"polyfill": false,
"regenerator": true
}]
],
"presets": [[
"@babel/preset-env", {
"modules": false
}
]],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs", "istanbul"]
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"istanbul"
]
}
}
}
10 changes: 6 additions & 4 deletions .circleci/config.yml
Expand Up @@ -25,14 +25,16 @@ jobs:
command: npm run lint
- run:
name: Unit testing
command: npm run test:unit
command: |
npm run test:unit
if [ ! -z "$COVERALLS_REPO_TOKEN" ]; then
echo "Uploading coverage results to coveralls.io..."
cat ./coverage/lcov.info | npx coveralls
fi
- run:
name: Check if API specification should be updated
command: |
npm run generate:spec
git diff --exit-code --name-only docs/api-spec.json
- run:
name: Publish coverage artifacts to coverall
command: npm run coverage
- store_artifacts:
path: dist