File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 19
19
"homepage" : " https://github.com/witoldsz/angular-http-auth" ,
20
20
"devDependencies" : {
21
21
"mkdirp" : " ^0.5.1" ,
22
+ "rimraf" : " ^2.5.4" ,
22
23
"uglifyjs" : " ^2.4.10"
23
24
},
24
25
"scripts" : {
25
- "minify" : " mkdirp dist && uglifyjs src/http-auth-interceptor.js -o dist/http-auth-interceptor.min.js -c"
26
+ "clean" : " rimraf dist/*" ,
27
+
28
+ "prebuild" : " npm run clean -s && mkdirp dist" ,
29
+ "build" : " npm run build:minify -s && npm run build:copy -s" ,
30
+ "build:minify" : " uglifyjs src/http-auth-interceptor.js -o dist/http-auth-interceptor.min.js -c" ,
31
+ "build:copy" : " cat src/http-auth-interceptor.js > dist/http-auth-interceptor.js" ,
32
+
33
+ "version" : " npm run build && git add -A dist" ,
34
+ "postversion" : " git push && git push --tags"
26
35
}
27
36
}
You can’t perform that action at this time.
0 commit comments