Skip to content

Commit

Permalink
Add editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswilli committed May 7, 2015
1 parent d3feda7 commit 0741df4
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 100 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
@@ -0,0 +1,26 @@
# 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

[*.hbs]
insert_final_newline = false

[{package,bower}.json]
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2

[Makefile]
indent_style = tab
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -31,3 +31,4 @@ SECURITY.md
*.html
!core/server/email-templates/**
bower_components/**
.editorconfig
200 changes: 100 additions & 100 deletions package.json
@@ -1,103 +1,103 @@
{
"name" : "ghost",
"version" : "0.6.2",
"description" : "Just a blogging platform.",
"author" : "Ghost Foundation",
"homepage" : "http://ghost.org",
"keywords" : [
"ghost",
"blog",
"cms"
],
"repository" : {
"type": "git",
"url": "git://github.com/TryGhost/Ghost.git"
},
"bugs" : "https://github.com/TryGhost/Ghost/issues",
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
"licenses" : [
{
"type": "MIT",
"url": "https://raw.github.com/TryGhost/Ghost/master/LICENSE"
}
],
"main": "./core/index",
"scripts": {
"start": "node index",
"test": "grunt validate --verbose"
},
"engines": {
"node": "~0.10.0 || ~0.12.0",
"iojs": "~1.2.0"
},
"dependencies": {
"bcryptjs": "2.1.0",
"bluebird": "2.9.25",
"body-parser": "1.10.0",
"bookshelf": "0.7.9",
"busboy": "0.2.9",
"cheerio": "0.18.0",
"colors": "0.6.2",
"compression": "1.2.2",
"connect-slashes": "1.3.0",
"cookie-session": "1.1.0",
"downsize": "0.0.8",
"express": "4.12.3",
"express-hbs": "0.8.4",
"extract-zip": "1.0.3",
"fs-extra": "0.13.0",
"glob": "4.3.2",
"html-to-text": "1.2.0",
"knex": "0.7.3",
"lodash": "2.4.1",
"moment": "2.10.2",
"morgan": "1.5.0",
"node-uuid": "1.4.2",
"nodemailer": "0.7.1",
"oauth2orize": "1.0.1",
"passport": "0.2.1",
"passport-http-bearer": "1.0.1",
"passport-oauth2-client-password": "0.1.2",
"path-match": "1.2.2",
"request": "2.55.0",
"rss": "1.1.1",
"semver": "4.3.3",
"showdown-ghost": "0.3.6",
"sqlite3": "3.0.6",
"unidecode": "0.1.3",
"validator": "3.39.0",
"xml": "1.0.0"
},
"optionalDependencies": {
"mysql": "2.1.1",
"pg": "4.1.1"
},
"devDependencies": {
"bower": "~1.3.10",
"grunt": "~0.4.5",
"grunt-bg-shell": "^2.3.1",
"grunt-cli": "~0.1.13",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-compress": "~0.11.0",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-jshint": "~0.11.2",
"grunt-contrib-uglify": "~0.6.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-docker": "~0.0.8",
"grunt-express-server": "~0.4.19",
"grunt-jscs": "~1.8.0",
"grunt-mocha-cli": "~1.13.0",
"grunt-mocha-istanbul": "2.4.0",
"grunt-shell": "~1.1.1",
"grunt-update-submodules": "~0.4.1",
"matchdep": "~0.3.0",
"nock": "0.52.4",
"require-dir": "~0.1.0",
"rewire": "~2.1.0",
"should": "~6.0.1",
"sinon": "~1.12.2",
"supertest": "~0.15.0",
"testem": "^0.6.23",
"top-gh-contribs": "^1.0.0"
"name": "ghost",
"version": "0.6.2",
"description": "Just a blogging platform.",
"author": "Ghost Foundation",
"homepage": "http://ghost.org",
"keywords": [
"ghost",
"blog",
"cms"
],
"repository": {
"type": "git",
"url": "git://github.com/TryGhost/Ghost.git"
},
"bugs": "https://github.com/TryGhost/Ghost/issues",
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
"licenses": [
{
"type": "MIT",
"url": "https://raw.github.com/TryGhost/Ghost/master/LICENSE"
}
],
"main": "./core/index",
"scripts": {
"start": "node index",
"test": "grunt validate --verbose"
},
"engines": {
"node": "~0.10.0 || ~0.12.0",
"iojs": "~1.2.0"
},
"dependencies": {
"bcryptjs": "2.1.0",
"bluebird": "2.9.25",
"body-parser": "1.10.0",
"bookshelf": "0.7.9",
"busboy": "0.2.9",
"cheerio": "0.18.0",
"colors": "0.6.2",
"compression": "1.2.2",
"connect-slashes": "1.3.0",
"cookie-session": "1.1.0",
"downsize": "0.0.8",
"express": "4.12.3",
"express-hbs": "0.8.4",
"extract-zip": "1.0.3",
"fs-extra": "0.13.0",
"glob": "4.3.2",
"html-to-text": "1.2.0",
"knex": "0.7.3",
"lodash": "2.4.1",
"moment": "2.10.2",
"morgan": "1.5.0",
"node-uuid": "1.4.2",
"nodemailer": "0.7.1",
"oauth2orize": "1.0.1",
"passport": "0.2.1",
"passport-http-bearer": "1.0.1",
"passport-oauth2-client-password": "0.1.2",
"path-match": "1.2.2",
"request": "2.55.0",
"rss": "1.1.1",
"semver": "4.3.3",
"showdown-ghost": "0.3.6",
"sqlite3": "3.0.6",
"unidecode": "0.1.3",
"validator": "3.39.0",
"xml": "1.0.0"
},
"optionalDependencies": {
"mysql": "2.1.1",
"pg": "4.1.1"
},
"devDependencies": {
"bower": "~1.3.10",
"grunt": "~0.4.5",
"grunt-bg-shell": "^2.3.1",
"grunt-cli": "~0.1.13",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-compress": "~0.11.0",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-jshint": "~0.11.2",
"grunt-contrib-uglify": "~0.6.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-docker": "~0.0.8",
"grunt-express-server": "~0.4.19",
"grunt-jscs": "~1.8.0",
"grunt-mocha-cli": "~1.13.0",
"grunt-mocha-istanbul": "2.4.0",
"grunt-shell": "~1.1.1",
"grunt-update-submodules": "~0.4.1",
"matchdep": "~0.3.0",
"nock": "0.52.4",
"require-dir": "~0.1.0",
"rewire": "~2.1.0",
"should": "~6.0.1",
"sinon": "~1.12.2",
"supertest": "~0.15.0",
"testem": "^0.6.23",
"top-gh-contribs": "^1.0.0"
}
}

0 comments on commit 0741df4

Please sign in to comment.