Commit 2035c0b47c8ba281e31c375b87b817b485c99352
1 parent
3761132430
Exists in
master
and in
1 other branch
modifico script post install y agrego gulp-clean
Showing
1 changed file
with
4 additions
and
3 deletions
 
Show diff stats
package.json
| ... | ... | @@ -5,8 +5,8 @@ | 
| 5 | 5 | "main": "index.js", | 
| 6 | 6 | "scripts": { | 
| 7 | 7 | "test": "echo \"Error: no test specified\" && exit 1", | 
| 8 | - "compile": "gulp uglify", | |
| 9 | - "postinstall": "npm run compile && rm -R src && rm -R tmp && rm .jshintrc && rm gulpfile.js" | |
| 8 | + "compile": "gulp uglify", | |
| 9 | + "postinstall": "npm run compile && gulp clean-post-install" | |
| 10 | 10 | }, | 
| 11 | 11 | "pre-commit": [ | 
| 12 | 12 | "gulp-pre-commit" | 
| ... | ... | @@ -32,6 +32,7 @@ | 
| 32 | 32 | "devDependencies": { | 
| 33 | 33 | "angular": "^1.7.4", | 
| 34 | 34 | "gulp": "^3.9.1", | 
| 35 | + "gulp-clean": "^0.4.0", | |
| 35 | 36 | "gulp-concat": "^2.6.1", | 
| 36 | 37 | "gulp-jshint": "^2.1.0", | 
| 37 | 38 | "gulp-rename": "^1.4.0", | 
| ... | ... | @@ -41,4 +42,4 @@ | 
| 41 | 42 | "jshint": "^2.9.6", | 
| 42 | 43 | "pump": "^3.0.0" | 
| 43 | 44 | } | 
| 44 | -} | |
| 45 | 45 | \ No newline at end of file | 
| 46 | +} |