diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..b02617bca3c8b94d3861dac49f768bd0695dce0e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.json] +indent_size = 2 diff --git a/.jscsrc b/.jscsrc new file mode 100644 index 0000000000000000000000000000000000000000..f862cd6de8cda7d7d2357daf02931a5b3be17a21 --- /dev/null +++ b/.jscsrc @@ -0,0 +1,22 @@ +{ + "preset": "airbnb", + "validateIndentation": 4, + "requireTrailingComma": false, + "disallowTrailingComma": true, + "requireSpacesInAnonymousFunctionExpression": false, + "requireCurlyBraces": [ + "if", + "else", + "for", + "while", + "do", + "try", + "catch" + ], + "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", + "disallowKeywordsOnNewLine": [], + "maximumLineLength": 80, + "requirePaddingNewLinesAfterBlocks": { + "allExcept": ["inCallExpressions", "inNewExpressions", "inArrayExpressions", "inProperties"] + } +} diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000000000000000000000000000000000000..97da9af5020e2de44ee806fe894f5a88a165e777 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,25 @@ +{ + "browser": false, + "node": true, + "esnext": true, + "eqeqeq": true, + "indent": 4, + "latedef": false, + "newcap": true, + "quotmark": "single", + "undef": true, + "unused": "vars", + "eqnull": true, + "globals": { + "describe": false, + "xdescribe": false, + "ddescribe": false, + "it": false, + "xit": false, + "iit": false, + "beforeEach": false, + "afterEach": false, + "before": false, + "after": false + } +} diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000000000000000000000000000000000..21df8b319f883c2ff5c8c93b2bb970db31f41e4a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +5.11 diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..2b6176dcd8d3f40c66ed8bdab47d575c28ef052c --- /dev/null +++ b/package.json @@ -0,0 +1,35 @@ +{ + "name": "blendb", + "version": "0.0.1", + "description": "BlenDB", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git@gitlab.c3sl.ufpr.br:c3sl/blendb.git" + }, + "author": "Centro de Computação Científica e Software Livre (C3SL)", + "license": "GPL-3.0", + "dependencies": { + "app-module-path": "^1.1.0", + "eslint": "^3.2.2", + "express": "^4.14.0", + "gulp": "^3.9.1", + "gulp-istanbul": "^1.0.0", + "gulp-jscs": "^4.0.0", + "gulp-jscs-stylish": "^1.4.0", + "gulp-jshint": "^2.0.1", + "gulp-mocha": "^3.0.0", + "gulp-nodemon": "^2.1.0", + "gulp-raml": "^0.1.3", + "gulp-rename": "^1.2.2", + "gulp-size": "^2.1.0", + "gulp-util": "^3.0.7", + "jshint": "^2.9.2", + "mongodb": "^2.2.5", + "osprey": "^0.3.2", + "raml2html": "^2.4.0" + } +}