Fixed build error

This commit is contained in:
Sudaththa Ranasinghe 2018-12-07 14:59:37 +05:30
parent 09ab76288d
commit 8399d86715
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
language: node_js language: node_js
node_js: node_js:
- '6' - '8'
branches: branches:
except: except:
- releases - releases
@ -21,7 +21,7 @@ addons:
sauce_connect: true sauce_connect: true
chrome: stable chrome: stable
cache: yarn cache: yarn
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6; fi
before_deploy: before_deploy:
- if [[ ! -z "$TRAVIS_TAG" ]]; then npm run build:all; fi - if [[ ! -z "$TRAVIS_TAG" ]]; then npm run build:all; fi
deploy: deploy:

View File

@ -7,8 +7,8 @@
"url": "git://github.com/Rebilly/ReDoc" "url": "git://github.com/Rebilly/ReDoc"
}, },
"engines": { "engines": {
"node": ">=6.9", "node": ">=8.10.0",
"npm": ">=3.0.0" "npm": ">=6.3.0"
}, },
"main": "dist/redoc.module.js", "main": "dist/redoc.module.js",
"module": "dist/redoc.module.js", "module": "dist/redoc.module.js",
@ -105,7 +105,7 @@
"style-loader": "^0.18.2", "style-loader": "^0.18.2",
"swagger-schema-official": "^2.0.0-bab6bed", "swagger-schema-official": "^2.0.0-bab6bed",
"tslint": "^5.7.0", "tslint": "^5.7.0",
"typescript": "^2.5.2", "typescript": "2.9",
"webpack": "^3.6.0", "webpack": "^3.6.0",
"webpack-dev-server": "^2.8.2", "webpack-dev-server": "^2.8.2",
"webpack-merge": "^4.1.0" "webpack-merge": "^4.1.0"