Skip to content

Commit e6d8191

Browse files
committed
More streamline solution to this problem
1 parent 5437350 commit e6d8191

File tree

4 files changed

+7
-50
lines changed

4 files changed

+7
-50
lines changed

Gruntfile.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
"auth"
1818
],
1919
"homepage": "https://github.com/witoldsz/angular-http-auth",
20-
"devDependencies": {
21-
"grunt": "^0.4.5",
22-
"grunt-contrib-uglify": "^0.11.0",
23-
"load-grunt-config": "^0.19.1",
24-
"time-grunt": "^1.3.0"
25-
}
20+
"devDependencies": {
21+
"mkdirp": "^0.5.1",
22+
"uglifyjs": "^2.4.10"
23+
},
24+
"scripts": {
25+
"minify": "mkdirp dist && uglifyjs src/http-auth-interceptor.js -o dist/http-auth-interceptor.min.js -c"
26+
}
2627
}

src/http-auth-interceptor.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

tasks/uglify.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)