Skip to content

Commit 0741df4

Browse files
committed
Add editorconfig
1 parent d3feda7 commit 0741df4

File tree

3 files changed

+127
-100
lines changed

3 files changed

+127
-100
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.hbs]
14+
insert_final_newline = false
15+
16+
[{package,bower}.json]
17+
indent_size = 2
18+
19+
[*.md]
20+
trim_trailing_whitespace = false
21+
22+
[*.yml]
23+
indent_size = 2
24+
25+
[Makefile]
26+
indent_style = tab

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ SECURITY.md
3131
*.html
3232
!core/server/email-templates/**
3333
bower_components/**
34+
.editorconfig

package.json

Lines changed: 100 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,103 @@
11
{
2-
"name" : "ghost",
3-
"version" : "0.6.2",
4-
"description" : "Just a blogging platform.",
5-
"author" : "Ghost Foundation",
6-
"homepage" : "http://ghost.org",
7-
"keywords" : [
8-
"ghost",
9-
"blog",
10-
"cms"
11-
],
12-
"repository" : {
13-
"type": "git",
14-
"url": "git://github.com/TryGhost/Ghost.git"
15-
},
16-
"bugs" : "https://github.com/TryGhost/Ghost/issues",
17-
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
18-
"licenses" : [
19-
{
20-
"type": "MIT",
21-
"url": "https://raw.github.com/TryGhost/Ghost/master/LICENSE"
22-
}
23-
],
24-
"main": "./core/index",
25-
"scripts": {
26-
"start": "node index",
27-
"test": "grunt validate --verbose"
28-
},
29-
"engines": {
30-
"node": "~0.10.0 || ~0.12.0",
31-
"iojs": "~1.2.0"
32-
},
33-
"dependencies": {
34-
"bcryptjs": "2.1.0",
35-
"bluebird": "2.9.25",
36-
"body-parser": "1.10.0",
37-
"bookshelf": "0.7.9",
38-
"busboy": "0.2.9",
39-
"cheerio": "0.18.0",
40-
"colors": "0.6.2",
41-
"compression": "1.2.2",
42-
"connect-slashes": "1.3.0",
43-
"cookie-session": "1.1.0",
44-
"downsize": "0.0.8",
45-
"express": "4.12.3",
46-
"express-hbs": "0.8.4",
47-
"extract-zip": "1.0.3",
48-
"fs-extra": "0.13.0",
49-
"glob": "4.3.2",
50-
"html-to-text": "1.2.0",
51-
"knex": "0.7.3",
52-
"lodash": "2.4.1",
53-
"moment": "2.10.2",
54-
"morgan": "1.5.0",
55-
"node-uuid": "1.4.2",
56-
"nodemailer": "0.7.1",
57-
"oauth2orize": "1.0.1",
58-
"passport": "0.2.1",
59-
"passport-http-bearer": "1.0.1",
60-
"passport-oauth2-client-password": "0.1.2",
61-
"path-match": "1.2.2",
62-
"request": "2.55.0",
63-
"rss": "1.1.1",
64-
"semver": "4.3.3",
65-
"showdown-ghost": "0.3.6",
66-
"sqlite3": "3.0.6",
67-
"unidecode": "0.1.3",
68-
"validator": "3.39.0",
69-
"xml": "1.0.0"
70-
},
71-
"optionalDependencies": {
72-
"mysql": "2.1.1",
73-
"pg": "4.1.1"
74-
},
75-
"devDependencies": {
76-
"bower": "~1.3.10",
77-
"grunt": "~0.4.5",
78-
"grunt-bg-shell": "^2.3.1",
79-
"grunt-cli": "~0.1.13",
80-
"grunt-contrib-clean": "~0.6.0",
81-
"grunt-contrib-compress": "~0.11.0",
82-
"grunt-contrib-copy": "~0.5.0",
83-
"grunt-contrib-jshint": "~0.11.2",
84-
"grunt-contrib-uglify": "~0.6.0",
85-
"grunt-contrib-watch": "~0.6.1",
86-
"grunt-docker": "~0.0.8",
87-
"grunt-express-server": "~0.4.19",
88-
"grunt-jscs": "~1.8.0",
89-
"grunt-mocha-cli": "~1.13.0",
90-
"grunt-mocha-istanbul": "2.4.0",
91-
"grunt-shell": "~1.1.1",
92-
"grunt-update-submodules": "~0.4.1",
93-
"matchdep": "~0.3.0",
94-
"nock": "0.52.4",
95-
"require-dir": "~0.1.0",
96-
"rewire": "~2.1.0",
97-
"should": "~6.0.1",
98-
"sinon": "~1.12.2",
99-
"supertest": "~0.15.0",
100-
"testem": "^0.6.23",
101-
"top-gh-contribs": "^1.0.0"
2+
"name": "ghost",
3+
"version": "0.6.2",
4+
"description": "Just a blogging platform.",
5+
"author": "Ghost Foundation",
6+
"homepage": "http://ghost.org",
7+
"keywords": [
8+
"ghost",
9+
"blog",
10+
"cms"
11+
],
12+
"repository": {
13+
"type": "git",
14+
"url": "git://github.com/TryGhost/Ghost.git"
15+
},
16+
"bugs": "https://github.com/TryGhost/Ghost/issues",
17+
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
18+
"licenses": [
19+
{
20+
"type": "MIT",
21+
"url": "https://raw.github.com/TryGhost/Ghost/master/LICENSE"
10222
}
23+
],
24+
"main": "./core/index",
25+
"scripts": {
26+
"start": "node index",
27+
"test": "grunt validate --verbose"
28+
},
29+
"engines": {
30+
"node": "~0.10.0 || ~0.12.0",
31+
"iojs": "~1.2.0"
32+
},
33+
"dependencies": {
34+
"bcryptjs": "2.1.0",
35+
"bluebird": "2.9.25",
36+
"body-parser": "1.10.0",
37+
"bookshelf": "0.7.9",
38+
"busboy": "0.2.9",
39+
"cheerio": "0.18.0",
40+
"colors": "0.6.2",
41+
"compression": "1.2.2",
42+
"connect-slashes": "1.3.0",
43+
"cookie-session": "1.1.0",
44+
"downsize": "0.0.8",
45+
"express": "4.12.3",
46+
"express-hbs": "0.8.4",
47+
"extract-zip": "1.0.3",
48+
"fs-extra": "0.13.0",
49+
"glob": "4.3.2",
50+
"html-to-text": "1.2.0",
51+
"knex": "0.7.3",
52+
"lodash": "2.4.1",
53+
"moment": "2.10.2",
54+
"morgan": "1.5.0",
55+
"node-uuid": "1.4.2",
56+
"nodemailer": "0.7.1",
57+
"oauth2orize": "1.0.1",
58+
"passport": "0.2.1",
59+
"passport-http-bearer": "1.0.1",
60+
"passport-oauth2-client-password": "0.1.2",
61+
"path-match": "1.2.2",
62+
"request": "2.55.0",
63+
"rss": "1.1.1",
64+
"semver": "4.3.3",
65+
"showdown-ghost": "0.3.6",
66+
"sqlite3": "3.0.6",
67+
"unidecode": "0.1.3",
68+
"validator": "3.39.0",
69+
"xml": "1.0.0"
70+
},
71+
"optionalDependencies": {
72+
"mysql": "2.1.1",
73+
"pg": "4.1.1"
74+
},
75+
"devDependencies": {
76+
"bower": "~1.3.10",
77+
"grunt": "~0.4.5",
78+
"grunt-bg-shell": "^2.3.1",
79+
"grunt-cli": "~0.1.13",
80+
"grunt-contrib-clean": "~0.6.0",
81+
"grunt-contrib-compress": "~0.11.0",
82+
"grunt-contrib-copy": "~0.5.0",
83+
"grunt-contrib-jshint": "~0.11.2",
84+
"grunt-contrib-uglify": "~0.6.0",
85+
"grunt-contrib-watch": "~0.6.1",
86+
"grunt-docker": "~0.0.8",
87+
"grunt-express-server": "~0.4.19",
88+
"grunt-jscs": "~1.8.0",
89+
"grunt-mocha-cli": "~1.13.0",
90+
"grunt-mocha-istanbul": "2.4.0",
91+
"grunt-shell": "~1.1.1",
92+
"grunt-update-submodules": "~0.4.1",
93+
"matchdep": "~0.3.0",
94+
"nock": "0.52.4",
95+
"require-dir": "~0.1.0",
96+
"rewire": "~2.1.0",
97+
"should": "~6.0.1",
98+
"sinon": "~1.12.2",
99+
"supertest": "~0.15.0",
100+
"testem": "^0.6.23",
101+
"top-gh-contribs": "^1.0.0"
102+
}
103103
}

0 commit comments

Comments
 (0)