We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85defd2 commit 6458076Copy full SHA for 6458076
package.json
@@ -19,9 +19,18 @@
19
"homepage": "https://github.com/witoldsz/angular-http-auth",
20
"devDependencies": {
21
"mkdirp": "^0.5.1",
22
+ "rimraf": "^2.5.4",
23
"uglifyjs": "^2.4.10"
24
},
25
"scripts": {
- "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"
35
}
36
0 commit comments