Commit fe281b3066cc3526e5337d46d13d12c419e65b91

Authored by Nicolás Guarnieri
1 parent 1beedde5b9
Exists in master

arreglos en package.json y gulpfile

Showing 2 changed files with 4 additions and 3 deletions   Show diff stats
... ... @@ -61,6 +61,8 @@ gulp.task('pre-commit', function() {
61 61 gulp.start('templates');
62 62 });
63 63  
  64 +gulp.task('compile', ['templates', 'uglify']);
  65 +
64 66 gulp.task('webserver', function() {
65 67 pump [
66 68 connect.server({port: 3000})
... ... @@ -5,10 +5,9 @@
5 5 "main": "index.js",
6 6 "scripts": {
7 7 "test": "echo \"Error: no test specified\" && exit 1",
8   - "compile": "gulp templates && gulp uglify",
9 8 "gulp-pre-commit": "gulp pre-commit",
10   - "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js",
11   - "install-dev": "npm install angular bootstrap jquery font-awesome gulp gulp-concat gulp-jshint gulp-rename gulp-replace gulp-uglify-es jshint pump gulp-connect jasmine-core pre-commit"
  9 + "postinstall": "gulp compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js",
  10 + "install-dev": "npm install -D angular bootstrap font-awesome gulp gulp-angular-templatecache gulp-concat gulp-connect gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-uglify jasmine-core jquery jshint pre-commit pump ui-bootstrap4 && npm i -D git+https://192.168.0.11/modulos-npm/foca-directivas"
12 11 },
13 12 "pre-commit": [
14 13 "gulp-pre-commit"