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 1919 "homepage" : " https://github.com/witoldsz/angular-http-auth" ,
2020 "devDependencies" : {
2121 "mkdirp" : " ^0.5.1" ,
22+ "rimraf" : " ^2.5.4" ,
2223 "uglifyjs" : " ^2.4.10"
2324 },
2425 "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"
2635 }
2736}
You can’t perform that action at this time.
0 commit comments