Skip to content

Commit

Permalink
Change travis node version + Unix usage of find
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed Dec 30, 2017
1 parent 474650c commit 85492cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: node_js
node_js:
- "node"
- "6"
- "lts/*"
- "8"
- "7"

script:
- npm run travis-test
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"clean": "rm -rf packages/*/lib",
"build:lib": "find packages -depth 1 -type dir -exec babel '{}'/src --out-dir '{}'/lib --ignore _spec.js ';'",
"build:lib": "find packages -mindepth 1 -maxdepth 1 -type d -exec babel '{}'/src --out-dir '{}'/lib --ignore _spec.js ';'",
"build:dist": "webpack",
"build:examples": "webpack --config webpack/examples.js",
"build": "npm run build:lib && npm run build:dist && npm run build:examples",
Expand Down

0 comments on commit 85492cd

Please sign in to comment.