From 2f7658e24526c3eb26b9d8948937df16825486ae Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Mon, 9 Jan 2017 11:39:52 +0100 Subject: [PATCH] Only increase stack size in travis build --- .travis.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 510eea6..62a9559 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,6 @@ install: - npm install script: - mkdir public - - npm run build + - node --stack_size=100000 $(which npm) run build - npm run lint - npm run test diff --git a/package.json b/package.json index 3dbcb25..bd37ede 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "''", "scripts": { "stats": "webpack --config webpack.production.config.js --profile --json > stats.json", - "build": "node --stack_size=100000 node_modules/webpack/bin/webpack.js --config webpack.production.config.js --progress --profile --colors", + "build": "webpack --config webpack.production.config.js --progress --profile --colors", "test": "karma start --single-run", "test-watch": "karma start", "start": "webpack-dev-server --progress --profile --colors --watch-poll", @@ -28,7 +28,7 @@ "lodash.throttle": "^4.1.1", "lodash.topairs": "^4.3.0", "mapbox-gl": "^0.29.0", - "mapbox-gl-inspect": "^1.0.5", + "mapbox-gl-inspect": "^1.0.6", "mapbox-gl-style-spec": "^8.11.0", "mousetrap": "^1.6.0", "ol-mapbox-style": "0.0.11",