Commit 6093fd83 authored by Michal Ivanic's avatar Michal Ivanic
Browse files

first commit

parents
{
"directory": "bower_components",
"storage": {
"packages": ".bower-cache",
"registry": ".bower-registry"
},
"tmp": ".bower-tmp"
}
{
"adjoining-classes": false,
"box-model": false,
"box-sizing": false,
"compatible-vendor-prefixes": false,
"floats": false,
"font-sizes": false,
"gradients": false,
"important": false,
"known-properties": false,
"outline-none": false,
"overqualified-elements": false,
"qualified-headings": false,
"regex-selectors": false,
"shorthand": false,
"text-indent": false,
"unique-headings": false,
"universal-selector": false,
"unqualified-attributes": false
}
test/coverage/**
\ No newline at end of file
{
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : false, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : false, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 2, // {int} Number of spaces to use for indentation
"latedef" : true, // true: Require variables/functions to be defined before being used
"newcap" : true, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : true, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : true, // true: Prohibit use of `++` & `--`
"quotmark" : "single", // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : "vars", // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line
// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : true, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function
// Environments
"browser" : true, // Web Browser (window, document, etc)
"couch" : false, // CouchDB
"devel" : true, // Development/debugging (alert, confirm, etc)
"dojo" : false, // Dojo Toolkit
"jquery" : false, // jQuery
"mootools" : false, // MooTools
"node" : true, // Node.js
"nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
"prototypejs" : false, // Prototype and Scriptaculous
"rhino" : false, // Rhino
"worker" : false, // Web Workers
"wsh" : false, // Windows Scripting Host
"yui" : false, // Yahoo User Interface
// Custom Globals
"globals": {
"angular" : true,
"define" : false,
"jasmine" : false,
"require" : false,
"exports" : false,
"module" : false,
"describe" : false,
"before" : false,
"beforeEach" : false,
"after" : false,
"afterEach" : false,
"it" : false,
"inject" : false,
"expect" : false,
"spyOn" : false
}
}
/test
\ No newline at end of file
language: node_js
node_js:
- "0.10"
env:
- NODE_ENV=development
services:
- mongodb
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e318bcf9be661aa4311b
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
# Authors ordered by first contribution
x:
Amos Haviv <mail@amoshaviv.com>
Shachar Zohar <shacharz@gmail.com>
Lior Kesos <lior@linnovate.net>
Anders Riutta <anders.riutta@gmail.com>
Brent Westmoreland <brent@westmoreland.us>
Roie Schwaber-Cohen <roie@gomango.com>
Mitch Pirtle <mitch@spacemonkeylabs.com>
Diego Netto <diegormnetto@gmail.com>
Brian Oley <brian.oley@gmail.com>
Mattia Asti <the.oozic@gmail.com>
Martins Untals <martins.untals@gmail.com>
Yutaka Yamaguchi <yyamaguchi@sixapart.com>
Jon-Biz <github@elbizri.com>
Amitai Burstein <amitai@gizra.com>
RafaDev7 <rafadev7@gmail.com>
Clay Diffrient <clay.diffrient@gmail.com>
William Ngo <will@mrngoitall.net>
Dev Mehta <dpmehta02@gmail.com>
Drew Fyock <fyockm@gmail.com>
Ferrari <shiyung@gmail.com>
Dave Rapin <dave@rapin.com>
John Fenley <Pontifier@gmail.com>
pontifier <pontifier@gmail.com>
William Ngo <will@mrngoitall.net>
Jason Weaver <indyplanets@gmail.com>
Rob Zolkos <robzolkos@gmail.com>
Eric Thomas <eric.l.m.thomas@gmail.com>
Michael Lai <themichaellai@gmail.com>
Rudi Starcevic <ooly.me@gmail.com>
Mark Stosberg <mark@rideamigos.com>
Kieu Anh Tuan <passkey1510@gmail.com>
Opi Danihelka <opicacek@seznam.cz>
Peter Blazejewicz <peter.blazejewicz@gmail.com>
Davy Chiu <davychiu@gmail.com>
John Williams <john@creoagency.com>
Jonathan Dizdarevic <dizzda@gmail.com>
Saulo Vallory <me@saulovallory.com>
Andrew Pierce <andrunix@gmail.com>
Maciej Rzepiński <maciej.rzepinski@gmail.com>
Marcin Jekot <marcin@jekot.net>
Geert-Jan Brits <gbrits@gmail.com>
Richard McIntyre <richard.mackstar@gmail.com>
Nicolas Forney <nicolas@eforney.com>
jonaswindey <jonas.windey@gmail.com>
Liran Tal <liran.tal@gmail.com>
VikramTiwari <Vikramtheone1@gmail.com>
Yonatan Ellman <yonatan@linnovate.net>
jonaswindey <jonas.windey@gmail.com>
Harshad Kale <harshad.kale@hotmail.com>
Ibes Mongabure <developpement@studiowaaz.com>
vygis <vygintas.ranonis@gmail.com>
david howard <dmh2000@gmail.com>
elmalto <malte.buecken@gmail.com>
Francesco Pavone <ciccio1986@gmail.com>
Krishnan Mani <kmani@equalexperts.com>
MaximAL <almaximal@ya.ru>
James Yin <coocoon@gmail.com>
Ehud Shahak <ehud@linnovate.net>
Jeremy Greer <jeremygreer@reergymerej.com>
Jerry Chanut <jerry.chanut@steria.com>
leejessy <jessylee@yobi3d.com>
Reed Dadoune <r@thriveline.com>
Squ34k3rZ <Squ34k3rZ@gmail.com>
Erlend Oftedal <erlend@oftedal.no>
wspurgin <will.spurgin@gmail.com>
Jack Hsu <jack@biztera.com>
Monthy Python <monthypython@users.noreply.github.com>
Adrian Edworthy <git@adrianedworthy.com>
Joseph Heck <joseph.heck@gmail.com>
Eric Baer <me@ericbaer.com>
Keith Fimreite <keith@keithfimreite.com>
'use strict';
var paths = {
js: ['*.js', 'test/**/*.js', '!test/coverage/**', '!bower_components/**', 'packages/**/*.js', '!packages/**/node_modules/**', '!packages/contrib/**/*.js', '!packages/contrib/**/node_modules/**'],
html: ['packages/**/public/**/views/**', 'packages/**/server/views/**'],
css: ['!bower_components/**', 'packages/**/public/**/css/*.css', '!packages/contrib/**/public/**/css/*.css']
};
module.exports = function(grunt) {
if (process.env.NODE_ENV !== 'production') {
require('time-grunt')(grunt);
}
// Project Configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
assets: grunt.file.readJSON('config/assets.json'),
clean: ['bower_components/build'],
watch: {
js: {
files: paths.js,
tasks: ['jshint'],
options: {
livereload: true
}
},
html: {
files: paths.html,
options: {
livereload: true,
interval: 500
}
},
css: {
files: paths.css,
tasks: ['csslint'],
options: {
livereload: true
}
}
},
jshint: {
all: {
src: paths.js,
options: {
jshintrc: true
}
}
},
uglify: {
core: {
options: {
mangle: false
},
files: '<%= assets.core.js %>'
}
},
csslint: {
options: {
csslintrc: '.csslintrc'
},
src: paths.css
},
cssmin: {
core: {
files: '<%= assets.core.css %>'
}
},
nodemon: {
dev: {
script: 'server.js',
options: {
args: [],
ignore: ['node_modules/**'],
ext: 'js,html',
nodeArgs: ['--debug'],
delayTime: 1,
cwd: __dirname
}
}
},
concurrent: {
tasks: ['nodemon', 'watch'],
options: {
logConcurrentOutput: true
}
},
mochaTest: {
options: {
reporter: 'spec',
require: [
'server.js',
function() {
require('meanio/lib/util').preload(__dirname + '/packages/**/server', 'model');
}
]
},
src: ['packages/**/server/tests/**/*.js']
},
env: {
test: {
NODE_ENV: 'test'
}
},
karma: {
unit: {
configFile: 'karma.conf.js'
}
}
});
//Load NPM tasks
require('load-grunt-tasks')(grunt);
/**
* Default Task
*/
grunt.hook.push('clean', -9999);
grunt.hook.push('concurrent', 9999);
if (process.env.NODE_ENV === 'production') {
grunt.hook.push('cssmin', 100);
grunt.hook.push('uglify', 200);
} else {
grunt.hook.push('jshint', -200);
grunt.hook.push('csslint', 100);
}
//Default task.
grunt.registerTask('default', ['hook']);
//Test task.
grunt.registerTask('test', ['env:test', 'mochaTest', 'karma:unit']);
// For Heroku users only.
// Docs: https://github.com/linnovate/mean/wiki/Deploying-on-Heroku
grunt.registerTask('heroku:production', ['cssmin', 'uglify']);
};
\ No newline at end of file
========================================
MEAN.IO is licensed under the MIT License
========================================
Copyright (C) 2012-2014 Linnovate Technologies
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
web: ./node_modules/.bin/forever -m 5 server.js
This diff is collapsed.
# --------------------
# OSX Files
# --------------------
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes
# --------------------
# Eclipse or Nodeclipse "Enide Studio" Files
# --------------------
# recommended to add to Git SCM
# or generate with `nodeclipse -p` command
.project
.settings/
.*.md.html
# --------------------
# IntelliJ Files
# --------------------
*.iml
*.ipr
*.iws
.idea/
# --------------------
# Netbeans Files
# --------------------
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
# --------------------
# Node Files
# --------------------
.nodemonignore
npm-debug.log
node_modules/
# --------------------
# SASS Files
# --------------------
.sass-cache/
# --------------------
# Bower Files
# --------------------
.bower-*/
bower_components
# --------------------
# App Files
# --------------------
test/coverage/
modules/public/
modules/views/
/public/build/
{
"name": "mean",
"dependencies": {
"jquery": "1.x",
"angular": "1.3.2",
"angular-resource": "1.3.2",
"angular-cookies": "1.3.2",
"angular-mocks": "1.3.2",
"angular-route": "1.3.2",
"bootstrap": "3.1.1",
"angular-bootstrap": "0.11.0",
"angular-ui-router": "#master"
}
}
{
"author": {
"name": "https://github.com/angular-ui/bootstrap/graphs/contributors"
},
"name": "angular-bootstrap",
"version": "0.11.0",
"main": [
"./ui-bootstrap-tpls.js"
],
"dependencies": {
"angular": ">=1"
},
"homepage": "https://github.com/angular-ui/bootstrap-bower",
"_release": "0.11.0",
"_resolution": {
"type": "version",
"tag": "0.11.0",
"commit": "75b302f82c1a3b0647695a3dfeacab0a153ea8a0"
},
"_source": "git://github.com/angular-ui/bootstrap-bower.git",
"_target": "0.11.0"
}
\ No newline at end of file
{
"author": {
"name": "https://github.com/angular-ui/bootstrap/graphs/contributors"
},
"name": "angular-bootstrap",
"version": "0.11.0",
"main": ["./ui-bootstrap-tpls.js"],
"dependencies": {
"angular": ">=1"
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"name": "angular-cookies",
"version": "1.3.2",
"main": "./angular-cookies.js",
"ignore": [],
"dependencies": {
"angular": "1.3.2"
},
"homepage": "https://github.com/angular/bower-angular-cookies",
"_release": "1.3.2",
"_resolution": {
"type": "version",
"tag": "v1.3.2",
"commit": "1b6854a716c269dc22a78e71876bbebfa248ccca"
},
"_source": "git://github.com/angular/bower-angular-cookies.git",
"_target": "1.3.2"
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment