Only increase stack size in travis build

This commit is contained in:
Lukas Martinelli 2017-01-09 11:39:52 +01:00
parent 4f0c641eb0
commit 2f7658e245
2 changed files with 3 additions and 3 deletions

View file

@ -16,6 +16,6 @@ install:
- npm install - npm install
script: script:
- mkdir public - mkdir public
- npm run build - node --stack_size=100000 $(which npm) run build
- npm run lint - npm run lint
- npm run test - npm run test

View file

@ -5,7 +5,7 @@
"main": "''", "main": "''",
"scripts": { "scripts": {
"stats": "webpack --config webpack.production.config.js --profile --json > stats.json", "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": "karma start --single-run",
"test-watch": "karma start", "test-watch": "karma start",
"start": "webpack-dev-server --progress --profile --colors --watch-poll", "start": "webpack-dev-server --progress --profile --colors --watch-poll",
@ -28,7 +28,7 @@
"lodash.throttle": "^4.1.1", "lodash.throttle": "^4.1.1",
"lodash.topairs": "^4.3.0", "lodash.topairs": "^4.3.0",
"mapbox-gl": "^0.29.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", "mapbox-gl-style-spec": "^8.11.0",
"mousetrap": "^1.6.0", "mousetrap": "^1.6.0",
"ol-mapbox-style": "0.0.11", "ol-mapbox-style": "0.0.11",