Compare commits
5 Commits
23a513b38a
...
d5c4641074
Author | SHA1 | Date |
---|---|---|
3wc | d5c4641074 | |
Paul Rodwell | f04c99a73d | |
Paul Rodwell | 752ba44f1d | |
Paul Rodwell | 6b735ae712 | |
Paul Rodwell | b1da9175b4 |
|
@ -2,7 +2,6 @@ module.exports = function (grunt) {
|
|||
grunt.loadNpmTasks('grunt-browserify');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-git-authors');
|
||||
grunt.loadNpmTasks('grunt-retire');
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
|
@ -24,16 +23,10 @@ module.exports = function (grunt) {
|
|||
files: ['client/*.coffee'],
|
||||
tasks: ['build']
|
||||
}
|
||||
},
|
||||
|
||||
retire: {
|
||||
node: ['.'],
|
||||
options: {packageOnly: true}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
grunt.registerTask('check', ['retire']);
|
||||
grunt.registerTask('build', ['browserify']);
|
||||
grunt.registerTask('default', ['build']);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wiki-security-passportjs",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.1",
|
||||
"description": "Security plugin for Federated Wiki, using passport.js",
|
||||
"author": "Paul Rodwell <paul.rodwell@btinternet.com> (http://rodwell.me)",
|
||||
"license": "MIT",
|
||||
|
@ -22,8 +22,7 @@
|
|||
"grunt": "^1.2.1",
|
||||
"grunt-browserify": "^6.0.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"grunt-git-authors": "^3.2.0",
|
||||
"grunt-retire": "^1.0.8"
|
||||
"grunt-git-authors": "^3.2.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -53,6 +53,8 @@ module.exports = exports = (log, loga, argv) ->
|
|||
callbackHost = callbackHost + ":" + url.parse(argv.url).port
|
||||
else
|
||||
callbackHost = url.parse(argv.url).host
|
||||
if argv.oauth2_CallbackPort?
|
||||
callbackHost = callbackHost + ":" + argv.oauth2_CallbackPort
|
||||
|
||||
ids = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue