diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5760be5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..1047198 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "@phated/iceddev/es5" +} diff --git a/.gitignore b/.gitignore index 59d842b..6f63646 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,6 @@ node_modules # Users Environment Variables .lock-wscript + +# Garbage files +.DS_Store diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..23792ba --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +sudo: false +language: node_js +node_js: + - '4' + - '0.12' + - '0.10' +before_install: + - 'npm install -g npm' # need those scoped packages diff --git a/package.json b/package.json index 84851d5..92bc18c 100644 --- a/package.json +++ b/package.json @@ -2,32 +2,37 @@ "name": "glogg", "version": "0.0.0", "description": "Global logging utility", + "author": "Blaine Bublitz (http://iceddev.com/)", + "contributors": [], + "repository": "undertakerjs/glogg", + "license": "MIT", + "engines": { + "node": ">= 0.10" + }, "main": "index.js", + "files": [ + "LICENSE", + "index.js" + ], "scripts": { - "test": "lab -cv --globals store@sparkles" + "test": "lab -cvL --globals store@sparkles" }, - "repository": { - "type": "git", - "url": "https://github.com/phated/glogg" + "dependencies": { + "sparkles": "^1.0.0" + }, + "devDependencies": { + "@phated/eslint-config-iceddev": "^0.2.1", + "code": "^1.5.0", + "eslint": "^1.3.1", + "eslint-plugin-mocha": "^0.5.1", + "eslint-plugin-react": "^3.3.2", + "lab": "^5.16.0" }, "keywords": [ "global", "log", - "logging", "logger", + "logging", "shared" - ], - "author": "Blaine Bublitz (http://iceddev.com/)", - "license": "MIT", - "bugs": { - "url": "https://github.com/phated/glogg/issues" - }, - "homepage": "https://github.com/phated/glogg", - "dependencies": { - "sparkles": "^1.0.0" - }, - "devDependencies": { - "code": "^1.2.1", - "lab": "^5.1.1" - } + ] } diff --git a/test/index.js b/test/index.js index 71a4dc7..b0bb445 100644 --- a/test/index.js +++ b/test/index.js @@ -5,8 +5,6 @@ var expect = require('code').expect; var describe = lab.describe; var it = lab.it; -var before = lab.before; -var after = lab.after; var beforeEach = lab.beforeEach; var afterEach = lab.afterEach;