diff --git a/package.json b/package.json index 9f58b27..0758366 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "compile": "gulp uglify", - "postinstall": "npm run compile && rm -R src && rm -R tmp && rm .jshintrc && rm gulpfile.js" + "compile": "gulp uglify", + "postinstall": "npm run compile && gulp clean-post-install" }, "pre-commit": [ "gulp-pre-commit" @@ -32,6 +32,7 @@ "devDependencies": { "angular": "^1.7.4", "gulp": "^3.9.1", + "gulp-clean": "^0.4.0", "gulp-concat": "^2.6.1", "gulp-jshint": "^2.1.0", "gulp-rename": "^1.4.0", @@ -41,4 +42,4 @@ "jshint": "^2.9.6", "pump": "^3.0.0" } -} \ No newline at end of file +}