Skip to content

Commit

Permalink
Configure build for Node 10.x. (allegro#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan authored Jan 11, 2019
1 parent dc49da4 commit d6ff7b0
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
/resources/
/src/
/test/
/typings/
*.js.map
*.fixtures.js
*.mocha.js
*.mock.js
*.ts
*.tgz
*.iml
.release-it.json
.sass-lint.yml
.travis.yml
tsconfig*.json
Expand Down
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@ language: node_js

node_js:
- "8"
- "10"

before_install:
- npm i -g npm@6.5.0

install:
- npm ci

script:
- npm run lint
- npm run build
- npm run test
- npm run lint
- npm run build
- npm run test
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ this is how Turnilo emerged.

## Pre-requisites

* [Node.js](https://nodejs.org/) - 8.x version.
* [Node.js](https://nodejs.org/) - 10.x or 8.x version.
* [npm](https://www.npmjs.com/) - 6.5.0 version.

:warning:
Do not use `yarn` command for dependency managment and project build, use `npm` instead.
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"jsdom": "9.4.2",
"mime": "2.3.1",
"mocha": "4.1.0",
"nock": "9.2.5",
"nock": "10.0.4",
"node-sass": "4.9.1",
"npm-run-all": "4.1.5",
"react-hot-loader": "3.1.3",
Expand Down

0 comments on commit d6ff7b0

Please sign in to comment.