5d028b72fb
no related issue - Updates package.json packages, adding express middleware packages that have been broken into their own modules - Updates controllers/frontend.js to use the new Layer object that Express 4.0 has. Requires some monkey-patching as the Layer object isn't explicitly surfaced, however it should be safe to do. - Moved the setup of routes into middleware/index.js because they need to be added as a middleware function before the 404 and 500 handlers. This is no longer possible with the old app.use(app.router) as that has been removed. - Cleaned up middleware/index.js to make it compatible with Express 4.0. - Simplified the way themes are activated and enabled when they are activated. The new handling is simpler, yet should still cover all the use cases that previously existed. - The entire flow of activating a theme through middleware should be a little more centralized, letting it be easier to read and maintain. - Moved every routes/*.js file to use an individual express.Router() instance.
101 lines
3.0 KiB
JSON
101 lines
3.0 KiB
JSON
{
|
|
"name" : "ghost",
|
|
"version" : "0.4.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": "./node_modules/.bin/grunt validate --verbose"
|
|
},
|
|
"engines": {
|
|
"node": "~0.10.0"
|
|
},
|
|
"engineStrict": true,
|
|
"dependencies": {
|
|
"bcryptjs": "0.7.10",
|
|
"body-parser": "1.0.2",
|
|
"bookshelf": "0.6.8",
|
|
"busboy": "0.0.12",
|
|
"colors": "0.6.2",
|
|
"compression": "^1.0.2",
|
|
"cookie-parser": "1.0.1",
|
|
"connect": "3.0.0-rc.1",
|
|
"connect-slashes": "1.2.0",
|
|
"csurf": "1.1.0",
|
|
"downsize": "0.0.5",
|
|
"express": "4.1.1",
|
|
"express-hbs": "0.7.10",
|
|
"express-session": "1.0.4",
|
|
"fs-extra": "0.8.1",
|
|
"knex": "0.5.8",
|
|
"lodash": "2.4.1",
|
|
"moment": "2.4.0",
|
|
"morgan": "1.0.0",
|
|
"node-polyglot": "0.3.0",
|
|
"node-uuid": "1.4.1",
|
|
"nodemailer": "0.5.13",
|
|
"rss": "0.2.1",
|
|
"semver": "2.2.1",
|
|
"showdown": "https://github.com/ErisDS/showdown/archive/v0.3.2-ghost.tar.gz",
|
|
"sqlite3": "2.2.3",
|
|
"static-favicon": "1.0.2",
|
|
"unidecode": "0.1.3",
|
|
"validator": "3.4.0",
|
|
"when": "2.7.0",
|
|
"xml": "0.0.12"
|
|
},
|
|
"optionalDependencies": {
|
|
"mysql": "2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"blanket": "~1.1.5",
|
|
"bower": "~1.2.8",
|
|
"grunt": "~0.4.1",
|
|
"grunt-cli": "~0.1.13",
|
|
"grunt-concat-sourcemap": "~0.4.0",
|
|
"grunt-contrib-clean": "~0.5.0",
|
|
"grunt-contrib-compress": "~0.5.2",
|
|
"grunt-contrib-concat": "~0.3.0",
|
|
"grunt-contrib-copy": "~0.4.1",
|
|
"grunt-contrib-handlebars": "~0.6.0",
|
|
"grunt-contrib-jshint": "~0.8.0",
|
|
"grunt-contrib-uglify": "~0.2.5",
|
|
"grunt-contrib-watch": "~0.5.3",
|
|
"grunt-docker": "~0.0.8",
|
|
"grunt-ember-templates": "~0.4.18",
|
|
"grunt-es6-module-transpiler": "~0.6.0",
|
|
"grunt-express-server": "~0.4.11",
|
|
"grunt-mocha-cli": "~1.4.0",
|
|
"grunt-shell": "~0.6.1",
|
|
"grunt-update-submodules": "~0.4.0",
|
|
"matchdep": "~0.3.0",
|
|
"mocha": "~1.15.1",
|
|
"nock": "0.27.2",
|
|
"rewire": "~2.0.0",
|
|
"request": "~2.29.0",
|
|
"require-dir": "~0.1.0",
|
|
"should": "~2.1.1",
|
|
"sinon": "~1.7.3",
|
|
"supertest": "~0.8.2"
|
|
}
|
|
}
|