forked from xoxco/jQuery-Tags-Input
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
… Updated min.js file to reflect the current non min file
- Loading branch information
Showing
11 changed files
with
479 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
bower_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
function loadConfig(path) { | ||
var glob = require('glob'); | ||
var object = {}; | ||
var key; | ||
|
||
glob.sync('*', {cwd: path}).forEach(function(option) { | ||
key = option.replace(/\.js$/,''); | ||
object[key] = require(path + option); | ||
}); | ||
|
||
return object; | ||
} | ||
|
||
module.exports = function(grunt) { | ||
grunt.loadTasks('grunt-tasks'); | ||
|
||
require('time-grunt')(grunt); | ||
|
||
// Only load tasks when they are needed | ||
require('jit-grunt')(grunt, { | ||
ngtemplates: 'grunt-angular-templates' | ||
}); | ||
|
||
var config = { | ||
pkg: grunt.file.readJSON('package.json'), | ||
env: process.env | ||
}; | ||
|
||
grunt.util._.extend(config, loadConfig('./grunt-tasks/options/')); | ||
grunt.initConfig(config); | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = function(grunt) { | ||
grunt.registerTask('assets:production', | ||
[ | ||
'cssmin:plugin', | ||
'uglify:plugin' | ||
]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
options: { | ||
shorthandCompacting: false | ||
}, | ||
plugin: { | ||
files: { | ||
'dist/jquery.tagsinput.min.css': ['src/jquery.tagsinput.css'] | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
options: { | ||
mangle: true | ||
}, | ||
plugin: { | ||
files: { | ||
'dist/jquery.tagsinput.min.js': ['src/jquery.tagsinput.js'] | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "jQuery-Tags-Input", | ||
"version": "1.3.3", | ||
"description": "## Note: This project is based off of [the original plugin](https://github.com/xoxco/jQuery-Tags-Input). Unfortunately, it has not been maintained in quite a while (~ 18 months when I started).", | ||
"main": "jquery.tagsinput.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/lucknerjb/jQuery-Tags-Input.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/lucknerjb/jQuery-Tags-Input/issues" | ||
}, | ||
"homepage": "https://github.com/lucknerjb/jQuery-Tags-Input", | ||
"devDependencies": { | ||
"glob": "^4.3.1", | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-cssmin": "^0.10.0", | ||
"grunt-contrib-uglify": "^0.6.0", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"grunt-newer": "^0.8.0", | ||
"jit-grunt": "^0.8.0", | ||
"load-grunt-tasks": "^0.6.0", | ||
"time-grunt": "^0.4.0", | ||
"grunt-cli": "^0.1.13" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.