Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
terkelg committed Oct 8, 2016
1 parent f9ead20 commit bf5a5d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
presets: [["es2015", { modules: false }]],
"plugins": ["external-helpers"],
"env": {
"test": {
presets: ["es2015"]
},
"build": {
presets: ["es2015-rollup"]
}
}
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ script:
after_success:
- npm run semantic-release
- npm run coveralls
- 'ls && ls dist'
branches:
except:
- /^v\d+\.\d+\.\d+$/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"jsnext:main": "dist/math-toolbox.es.js",
"version": "0.0.0-semantically-released",
"scripts": {
"build": "npm test && BABEL_ENV=build rollup -c",
"build": "rollup -c",
"build:uglify": "npm run build && uglifyjs dist/math-toolbox.umd.js -cm --preamble \"// math-toolbox - https://github.com/terkelg/math-toolbox\" > dist/math-toolbox.umd.min.js",
"docs": "documentation build src/math-toolbox.js -f html -o docs",
"test": "standard && jest",
Expand Down Expand Up @@ -60,9 +60,9 @@
"license": "MIT",
"devDependencies": {
"babel-jest": "^16.0.0",
"babel-plugin-external-helpers": "^6.8.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-es2015-rollup": "^1.2.0",
"coveralls": "^2.11.14",
"jest": "^16.0.0",
"jest-cli": "^16.0.0",
Expand Down

0 comments on commit bf5a5d8

Please sign in to comment.