Skip to content

Commit 85defd2

Browse files
authored
Merge pull request #139 from spengilley/Feature/Minify
Grunt uglification
2 parents 08a1065 + e6d8191 commit 85defd2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
2+
npm-debug.log
23
bower_components
34
components

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,12 @@
1616
"angular",
1717
"auth"
1818
],
19-
"homepage": "https://github.com/witoldsz/angular-http-auth"
19+
"homepage": "https://github.com/witoldsz/angular-http-auth",
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+
}
2027
}

0 commit comments

Comments
 (0)