just the basic repo stuff
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
*.swp
|
||||||
|
.DS_Store
|
||||||
|
node_modules/
|
||||||
|
npm-debug.log
|
||||||
16
.jshintrc
Normal file
16
.jshintrc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"boss": true,
|
||||||
|
"curly": true,
|
||||||
|
"eqeqeq": true,
|
||||||
|
"eqnull": true,
|
||||||
|
"immed": true,
|
||||||
|
"latedef": true,
|
||||||
|
"mocha" : true,
|
||||||
|
"newcap": true,
|
||||||
|
"noarg": true,
|
||||||
|
"node": true,
|
||||||
|
"sub": true,
|
||||||
|
"undef": true,
|
||||||
|
"unused": true,
|
||||||
|
"esnext": true
|
||||||
|
}
|
||||||
3
.travis.yml
Normal file
3
.travis.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "0.10"
|
||||||
72
Gruntfile.js
Normal file
72
Gruntfile.js
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
'use strict';
|
||||||
|
module.exports = function (grunt) {
|
||||||
|
// Show elapsed time at the end
|
||||||
|
require('time-grunt')(grunt);
|
||||||
|
// Load all grunt tasks
|
||||||
|
require('load-grunt-tasks')(grunt);
|
||||||
|
|
||||||
|
grunt.initConfig({
|
||||||
|
jshint: {
|
||||||
|
options: {
|
||||||
|
jshintrc: '.jshintrc',
|
||||||
|
reporter: require('jshint-stylish')
|
||||||
|
},
|
||||||
|
gruntfile: {
|
||||||
|
src: ['Gruntfile.js']
|
||||||
|
},
|
||||||
|
js: {
|
||||||
|
src: ['*.js']
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
src: ['test/**/*.js']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
jsdoc: {
|
||||||
|
dist: {
|
||||||
|
src: ['index.js', 'test/*.js', 'README.md'],
|
||||||
|
options: {
|
||||||
|
destination: 'documentation',
|
||||||
|
template : 'node_modules/grunt-jsdoc/node_modules/ink-docstrap/template',
|
||||||
|
configure : 'jsdoc.conf.json'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mochacli: {
|
||||||
|
options: {
|
||||||
|
reporter: 'nyan',
|
||||||
|
'harmony-generators': true
|
||||||
|
},
|
||||||
|
all: ['test/*.js']
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
gruntfile: {
|
||||||
|
files: '<%= jshint.gruntfile.src %>',
|
||||||
|
tasks: ['jshint:gruntfile']
|
||||||
|
},
|
||||||
|
js: {
|
||||||
|
files: '<%= jshint.js.src %>',
|
||||||
|
tasks: ['jshint:js', 'mochacli']
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
files: '<%= jshint.test.src %>',
|
||||||
|
tasks: ['jshint:test', 'mochacli']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
versioner: {
|
||||||
|
options: {
|
||||||
|
gitPush: false,
|
||||||
|
gitPushTag: false,
|
||||||
|
tagPrefix: ''
|
||||||
|
},
|
||||||
|
default: {
|
||||||
|
files: {
|
||||||
|
'./package.json': ['./package.json']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
grunt.registerTask('default', ['jshint', 'mochacli']);
|
||||||
|
grunt.registerTask('document', ['jsdoc']);
|
||||||
|
grunt.registerTask('update', ['document', 'versioner:default']);
|
||||||
|
};
|
||||||
25
LICENSE
Normal file
25
LICENSE
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
Copyright (c) 2015, Ted
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
3. Neither the name of Ted nor the names of its contributors
|
||||||
|
may be used to endorse or promote products derived from this software
|
||||||
|
without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY TED ''AS IS'' AND ANY
|
||||||
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL TED BE LIABLE FOR ANY
|
||||||
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
27
jsdoc.conf.json
Normal file
27
jsdoc.conf.json
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"tags": {
|
||||||
|
"allowUnknownTags": true
|
||||||
|
},
|
||||||
|
"plugins": ["plugins/markdown"],
|
||||||
|
"templates": {
|
||||||
|
"cleverLinks": false,
|
||||||
|
"monospaceLinks": false,
|
||||||
|
"dateFormat": "ddd MMM Do YYYY",
|
||||||
|
"outputSourceFiles": true,
|
||||||
|
"outputSourcePath": true,
|
||||||
|
"systemName": "wildstring",
|
||||||
|
"footer": "",
|
||||||
|
"copyright": "DocStrap Copyright © 2012-2014 The contributors to the JSDoc3 and DocStrap projects.",
|
||||||
|
"navType": "vertical",
|
||||||
|
"theme": "cosmo",
|
||||||
|
"linenums": true,
|
||||||
|
"collapseSymbols": false,
|
||||||
|
"inverseNav": true,
|
||||||
|
"highlightTutorialCode": true,
|
||||||
|
"protocol": "html://"
|
||||||
|
},
|
||||||
|
"markdown": {
|
||||||
|
"parser": "gfm",
|
||||||
|
"hardwrap": true
|
||||||
|
}
|
||||||
|
}
|
||||||
36
package.json
Normal file
36
package.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "wildstring",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "Simple String Wildcard Handling",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "grunt"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/deltreey/wildstring"
|
||||||
|
},
|
||||||
|
"keywords": ["wildcard", "string", "interpolation"],
|
||||||
|
"author": {
|
||||||
|
"name":"Ted",
|
||||||
|
"email": "suicidolt@gmail.com",
|
||||||
|
"url": "https://github.com/deltreey"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/deltreey/wildstring/issues"
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"grunt-cli": "^0.1.13",
|
||||||
|
"grunt-contrib-jshint": "^0.11.0",
|
||||||
|
"grunt-contrib-nodeunit": "^0.4.1",
|
||||||
|
"grunt-contrib-watch": "^0.6.1",
|
||||||
|
"grunt-jsdoc": "^0.6.7",
|
||||||
|
"grunt-mocha-cli": "^1.12.0",
|
||||||
|
"grunt-versioner": "^0.1.7",
|
||||||
|
"jshint-stylish": "^1.0.1",
|
||||||
|
"load-grunt-tasks": "^3.1.0",
|
||||||
|
"time-grunt": "^1.1.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user