forked from thybag/quick-spot
-
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.
Merge pull request thybag#16 from thybag/develop
Make v0.9.1 stable branch
- Loading branch information
Showing
9 changed files
with
509 additions
and
138 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 @@ | ||
/orig.js | ||
/node_modules |
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,55 @@ | ||
module.exports = function (grunt) { | ||
"use strict"; | ||
|
||
grunt.loadNpmTasks("grunt-contrib-connect"); | ||
grunt.loadNpmTasks("grunt-contrib-watch"); | ||
grunt.loadNpmTasks("grunt-contrib-uglify"); | ||
grunt.loadNpmTasks("grunt-contrib-copy"); | ||
grunt.loadNpmTasks("grunt-eslint"); | ||
|
||
grunt.initConfig({ | ||
eslint: { | ||
all: { | ||
options: { | ||
configFile: "test/_eslint.json" | ||
}, | ||
src: ["quickspot.js"] | ||
} | ||
}, | ||
uglify: { | ||
all: { | ||
files: { | ||
"quickspot.min.js": ["quickspot.js"] | ||
} | ||
} | ||
}, | ||
copy: { | ||
main: { | ||
src: 'quickspot.*', | ||
dest: 'demo/', | ||
}, | ||
}, | ||
connect: { | ||
all: { | ||
options: { | ||
port: 7070, | ||
hostname: "localhost", | ||
base: ["demo/"], | ||
livereload: 7071 | ||
} | ||
} | ||
}, | ||
watch: { | ||
all: { | ||
files: ["quickspot.js", "quickspot.css"], | ||
tasks: ["default"], | ||
options: { | ||
livereload: true | ||
} | ||
} | ||
} | ||
}); | ||
|
||
grunt.registerTask('default', ['eslint', 'copy', 'uglify']); | ||
grunt.registerTask('server', ['eslint','copy', 'uglify', 'connect', 'watch']); | ||
}; |
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{ | ||
"name": "thybag/quick-spot", | ||
"version": "0.8.2", | ||
"version": "0.9.1", | ||
"main": "quickspot.js", | ||
"description": "Quickspot is a fast, flexible JSON powered in-memory search. ", | ||
"license": "MIT", | ||
"keywords": ["search","quicksearch"], | ||
"ignore": [ | ||
"demo/", | ||
"readme.md" | ||
"readme.md", | ||
"test/", | ||
".gitignore" | ||
] | ||
} | ||
} |
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
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
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
Oops, something went wrong.