clean up after we're done

This commit is contained in:
Manuel Friedli 2016-06-26 22:53:54 +02:00
parent b919bc2243
commit a64b1d02e7
3 changed files with 32 additions and 21 deletions

View file

@ -4,6 +4,7 @@ variables:
stages: stages:
- build - build
- deploy - deploy
- clean_after_deploy
Npm, Bower, Grunt: Npm, Bower, Grunt:
script: script:
@ -39,3 +40,13 @@ production:
- master - master
variables: variables:
ENVIRON: production ENVIRON: production
clean:
stage: clean_after_deploy
script:
- rm -r node_modules
- rm -r bower_components
when: always

View file

@ -2,12 +2,12 @@
"name": "uhr", "name": "uhr",
"version": "8.0.2-dev.0", "version": "8.0.2-dev.0",
"dependencies": { "dependencies": {
"jquery": "~2.1.3", "jquery": "~2.2.4",
"jquery-ui": "~1.11.2", "jquery-ui": "~1.11.4",
"jquery-cookie": "~1.4.1" "js-cookie": "~2.1.1"
}, },
"devDependencies": { "devDependencies": {
"mocha": "~2.3.3", "mocha": "~2.5.3",
"chai": "~3.3.0" "chai": "~3.5.0"
} }
} }

View file

@ -23,22 +23,22 @@
], ],
"license": "GPL-3.0", "license": "GPL-3.0",
"devDependencies": { "devDependencies": {
"bower": "^1.5.3", "bower": "^1.7.9",
"grunt": "~0.4.5", "grunt": "~0.4.5",
"grunt-cli": "^0.1.13", "grunt-cli": "~1.2.0",
"grunt-contrib-clean": "~0.6.0", "grunt-contrib-clean": "~1.0.0",
"grunt-contrib-concat": "~0.5.0", "grunt-contrib-concat": "~1.0.1",
"grunt-contrib-connect": "~0.11.0", "grunt-contrib-connect": "~1.0.2",
"grunt-contrib-cssmin": "^0.14.0", "grunt-contrib-cssmin": "^1.0.1",
"grunt-contrib-jshint": "~0.11.0", "grunt-contrib-jshint": "~1.0.0",
"grunt-contrib-qunit": "~0.7.0", "grunt-contrib-qunit": "~1.2.0",
"grunt-contrib-uglify": "~0.9.2", "grunt-contrib-uglify": "~1.0.1",
"grunt-contrib-watch": "~0.6.1", "grunt-contrib-watch": "~1.0.0",
"grunt-mocha-phantomjs": "^2.0.0", "grunt-mocha-phantomjs": "^3.0.0",
"grunt-version": "^1.0.0", "grunt-version": "^1.1.1",
"jshint-stylish": "~2.0.1", "jshint-stylish": "~2.1.0",
"load-grunt-tasks": "~3.3.0", "load-grunt-tasks": "~3.5.0",
"phantomjs": "^1.9.18", "phantomjs-prebuilt": "^2.1.7",
"time-grunt": "~1.2.1" "time-grunt": "~1.3.0"
} }
} }