Commit 0570263e98b3303f75e1e096f813df6044290640
1 parent
ef47d8e5fd
Exists in
master
cambio script postinstall por instrucción gulp
Agrego script install-dev
Showing
1 changed file
with
6 additions
and
4 deletions
Show diff stats
package.json
... | ... | @@ -6,7 +6,8 @@ |
6 | 6 | "scripts": { |
7 | 7 | "test": "echo \"Error: no test specified\" && exit 1", |
8 | 8 | "compile": "gulp uglify", |
9 | - "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js" | |
9 | + "postinstall": "npm run compile && gulp clean-post-install", | |
10 | + "install-dev": "npm install -D angular bootstrap angular-ui-bootstrap ui-bootstrap4 font-awesom jquery pre-commit jshint pump jasmine-core gulp gulp-connect gulp-angular-templatecache gulp-concat gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-uglify gulp-clean" | |
10 | 11 | }, |
11 | 12 | "repository": { |
12 | 13 | "type": "git", |
... | ... | @@ -29,23 +30,24 @@ |
29 | 30 | "pump": "^3.0.x" |
30 | 31 | }, |
31 | 32 | "devDependencies": { |
32 | - "gulp-connect": "^5.6.1", | |
33 | - "jasmine-core": "3.2.1", | |
34 | - "pre-commit": "^1.2.2", | |
35 | 33 | "angular": "1.7.4", |
36 | 34 | "angular-ui-bootstrap": "2.5.6", |
37 | 35 | "bootstrap": "4.1.3", |
38 | 36 | "font-awesome": "4.7.0", |
39 | 37 | "gulp": "^3.9.1", |
40 | 38 | "gulp-angular-templatecache": "2.2.1", |
39 | + "gulp-clean": "^0.4.0", | |
41 | 40 | "gulp-concat": "2.6.1", |
41 | + "gulp-connect": "^5.6.1", | |
42 | 42 | "gulp-htmlmin": "5.0.1", |
43 | 43 | "gulp-jshint": "2.1.0", |
44 | 44 | "gulp-rename": "1.4.0", |
45 | 45 | "gulp-replace": "1.0.0", |
46 | 46 | "gulp-uglify-es": "1.0.4", |
47 | + "jasmine-core": "3.2.1", | |
47 | 48 | "jquery": "3.3.1", |
48 | 49 | "jshint": "2.9.6", |
50 | + "pre-commit": "^1.2.2", | |
49 | 51 | "pump": "3.0.0", |
50 | 52 | "ui-bootstrap4": "^3.0.5" |
51 | 53 | } |