Commit 3c79411c130e72681aaaa1fddb0b6f3998d23006

Authored by Eric Fernandez
1 parent 9e01aa0123
Exists in master

linea al final del archivo

agrego scripts
Showing 2 changed files with 26 additions and 25 deletions   Show diff stats
... ... @@ -75,4 +75,4 @@ gulp.task('webserver', function() {
75 75 ]
76 76 });
77 77  
78   -gulp.task('default', ['webserver']);
79 78 \ No newline at end of file
  79 +gulp.task('default', ['webserver']);
1 1 {
2 2 "name": "foca-login",
3   - "version": "1.0.0",
  3 + "version": "0.0.1",
4 4 "description": "Login",
5 5 "main": "dist/foca-login.js",
6 6 "scripts": {
7 7 "test": "echo \"Error: no test specified\" && exit 1",
8   - "compile": "gulp uglify",
9   - "pre-commit": [
10   - "gulp-pre-commit"
11   - ],
12   - "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js"
  8 + "compile": "gulp compile",
  9 + "gulp-pre-commit": "gulp pre-commit",
  10 + "postinstall": "npm run compile && gulp clean-post-install",
  11 + "install-dev": "npm install -D gulp gulp-connect jasmine-core pre-commit angular bootstrap font-awesome gulp-angular-templatecache gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es jquery jshint pump"
13 12 },
  13 + "pre-commit": [
  14 + "gulp-pre-commit"
  15 + ],
14 16 "repository": {
15 17 "type": "git",
16 18 "url": "https://192.168.0.11/modulos-npm/foca-login.git"
... ... @@ -32,24 +34,23 @@
32 34 "pump": "^3.0.x"
33 35 },
34 36 "devDependencies": {
  37 + "angular": "^1.7.4",
  38 + "bootstrap": "^4.1.3",
  39 + "font-awesome": "^4.7.0",
  40 + "gulp": "^3.9.1",
  41 + "gulp-angular-templatecache": "^2.2.1",
  42 + "gulp-clean": "^0.4.0",
35 43 "gulp-connect": "^5.6.1",
36   - "jasmine-core": "3.2.1",
37   - "pre-commit": "^1.2.2"
38   - },
39   - "dependencies": {
40   - "angular": "1.7.4",
41   - "bootstrap": "4.1.3",
42   - "font-awesome": "4.7.0",
43   - "gulp-angular-templatecache": "2.2.1",
44   - "gulp-clean": "0.4.0",
45   - "gulp-htmlmin": "5.0.1",
46   - "gulp-jshint": "2.1.0",
47   - "gulp-rename": "1.4.0",
48   - "gulp-replace": "1.0.0",
49   - "gulp-sequence": "1.0.0",
50   - "gulp-uglify-es": "1.0.4",
51   - "jquery": "3.3.1",
52   - "jshint": "2.9.6",
53   - "pump": "3.0.0"
  44 + "gulp-htmlmin": "^5.0.1",
  45 + "gulp-jshint": "^2.1.0",
  46 + "gulp-rename": "^1.4.0",
  47 + "gulp-replace": "^1.0.0",
  48 + "gulp-sequence": "^1.0.0",
  49 + "gulp-uglify-es": "^1.0.4",
  50 + "jasmine-core": "^3.2.1",
  51 + "jquery": "^3.3.1",
  52 + "jshint": "^2.9.6",
  53 + "pre-commit": "^1.2.2",
  54 + "pump": "^3.0.0"
54 55 }
55 56 }