Ghost/package.json

154 lines
4.3 KiB
JSON
Raw Normal View History

{
2015-05-06 02:54:23 +03:00
"name": "ghost",
2019-04-23 12:34:46 +03:00
"version": "2.21.0",
"description": "The professional publishing platform",
2015-05-06 02:54:23 +03:00
"author": "Ghost Foundation",
"homepage": "https://ghost.org",
2015-05-06 02:54:23 +03:00
"keywords": [
"ghost",
"blog",
2018-12-03 14:04:05 +03:00
"cms",
"headless",
"content",
"markdown"
2015-05-06 02:54:23 +03:00
],
"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",
"license": "MIT",
2015-05-06 02:54:23 +03:00
"main": "./core/index",
"scripts": {
"start": "node index",
"dev": "DEBUG=ghost:* grunt dev",
"test": "grunt validate",
"ci": "grunt validate --verbose",
"ci:regression": "grunt test-regression --verbose",
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true",
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'",
"lint:test": "eslint -c core/test/.eslintrc.json --ignore-path core/test/.eslintignore 'core/test/**/*.js'",
"lint": "yarn lint:server && yarn lint:test",
"posttest": "yarn lint",
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../"
2015-05-06 02:54:23 +03:00
},
"engines": {
"node": "^6.9.0 || ^8.9.0 || ^10.13.0",
"cli": "^1.9.0"
2015-05-06 02:54:23 +03:00
},
"dependencies": {
"@nexes/nql": "0.2.1",
"@tryghost/helpers": "1.1.2",
Updated theme layer to use members-ssr (#10676) * Removed support for cookies in members auth middleware no-issue The members middleware will no longer be supporting cookies, the cookie will be handled by a new middleware specific for serverside rendering, more informations can be found here: https://paper.dropbox.com/doc/Members-Auth-II-4WP4vF6coMqDYbSMIajo5 * Removed members auth middleware from site app no-issue The site app no longer needs the members auth middleware as it doesn't support cookies, and will be replaced by ssr specific middleware. https://paper.dropbox.com/doc/Members-Auth-II-4WP4vF6coMqDYbSMIajo5 * Added comment for session_secret setting no-issue We are going to have multiple concepts of sessions, so adding a comment here to be specific that this is for the Ghost Admin client * Added theme_session_secret setting dynamic default no-issue Sessions for the theme layer will be signed, so we generate a random hex string to use as a signing key * Added getPublicConfig method * Replaced export of httpHandler with POJO apiInstance no-issue This is mainly to reduce the public api, so it's easier to document. * Renamed memberUserObject -> members no-issue Simplifies the interface, and is more inline with what we would want to export as an api library. * Removed use of require options inside members no-issue This was too tight of a coupling between Ghost and Members * Simplified apiInstance definition no-issue * Added getMember method to members api * Added MembersSSR instance to members service * Wired up routes for members ssr * Updated members auth middleware to use getPublicConfig * Removed publicKey static export from members service * Used real session secret no-issue * Added DELETE /members/ssr handler no-issue This allows users to log out of the theme layer * Fixed missing code property no-issue Ignition uses the statusCode property to forward status codes to call sites * Removed superfluous error middleware no-issue Before we used generic JWT middleware which would reject, now the middleware catches it's own error and doesn't error, thus this middleware is unecessary. * Removed console.logs no-issue * Updated token expirty to hardcoded 20 minutes no-issue This returns to our previous state of using short lived tokens, both for security and simplicity. * Removed hardcoded default member settings no-issue This is no longer needed, as defaults are in default-settings.json * Removed stripe from default payment processor no-issue * Exported `getSiteUrl` method from url utils no-issue This keeps inline with newer naming conventions * Updated how audience access control works no-issue Rather than being passed a function, members api now receives an object which describes which origins have access to which audiences, and how long those tokens should be allowed to work for. It also allows syntax for default tokens where audience === origin requesting it. This can be set to undefined or null to disable this functionality. { "http://site.com": { "http://site.com": { tokenLength: '5m' }, "http://othersite.com": { tokenLength: '1h' } }, "*": { tokenLength: '30m' } } * Updated members service to use access control feature no-issue This also cleans up a lot of unecessary variable definitions, and some other minor cleanups. * Added status code to auth pages html response no-issue This was missing, probably default but better to be explicit * Updated gateway to have membersApiUrl from config no-issue Previously we were parsing the url, this was not very safe as we can have Ghost hosted on a subdomain, and this would have failed. * Added issuer to public config for members no-issue This can be used to request SSR tokens in the client * Fixed path for gateway bundle no-issue * Updated settings model tests no-issue * Revert "Removed stripe from default payment processor" This reverts commit 1d88d9b6d73a10091070bcc1b7f5779d071c7845. * Revert "Removed hardcoded default member settings" This reverts commit 9d899048ba7d4b272b9ac65a95a52af66b30914a. * Installed @tryghost/members-ssr * Fixed tests for settings model
2019-04-16 17:50:25 +03:00
"@tryghost/members-ssr": "^0.1.1",
"ajv": "6.8.1",
"amperize": "0.3.8",
"analytics-node": "3.3.0",
"archiver": "3.0.0",
"bcryptjs": "2.4.3",
2019-01-21 15:33:20 +03:00
"bluebird": "3.5.3",
"body-parser": "1.18.3",
"bookshelf": "0.14.2",
"bookshelf-relations": "1.1.0",
"brute-knex": "3.0.1",
"bson-objectid": "1.2.4",
"chalk": "2.4.2",
"cheerio": "0.22.0",
"compression": "1.7.3",
"connect-slashes": "1.3.1",
"cookie": "0.3.1",
"cookie-session": "1.3.2",
2019-01-21 15:33:20 +03:00
"cors": "2.8.5",
"csv-parser": "2.1.0",
2015-05-06 02:54:23 +03:00
"downsize": "0.0.8",
"express": "4.16.4",
"express-brute": "1.0.1",
"express-hbs": "1.1.1",
"express-jwt": "5.3.1",
"express-query-boolean": "2.0.0",
"express-session": "1.15.6",
"extract-zip": "1.6.7",
"fs-extra": "3.0.1",
"ghost-ignition": "3.1.0",
"ghost-storage-base": "0.0.3",
2015-10-14 12:29:08 +03:00
"glob": "5.0.15",
"got": "8.3.2",
"gscan": "2.5.0",
"html-to-text": "4.0.0",
"image-size": "0.6.3",
"intl": "1.2.5",
"intl-messageformat": "1.3.0",
2019-01-21 15:33:20 +03:00
"js-yaml": "3.12.1",
"jsonpath": "1.0.0",
2019-01-21 15:33:20 +03:00
"jsonwebtoken": "8.4.0",
"keypair": "1.0.1",
"knex": "0.14.6",
"knex-migrator": "3.2.5",
"lodash": "4.17.11",
"markdown-it": "8.4.2",
"markdown-it-footnote": "3.0.1",
"markdown-it-lazy-headers": "0.1.3",
"markdown-it-mark": "2.0.0",
"mobiledoc-dom-renderer": "0.6.5",
"moment": "2.24.0",
2019-01-21 15:33:20 +03:00
"moment-timezone": "0.5.23",
"multer": "1.4.1",
"mysql": "2.16.0",
"nconf": "0.10.0",
"netjet": "1.3.0",
"node-jose": "1.1.0",
2015-05-06 02:54:23 +03:00
"nodemailer": "0.7.1",
"oauth2orize": "1.11.0",
"oembed-parser": "1.2.2",
"passport": "0.4.0",
2015-05-06 02:54:23 +03:00
"passport-http-bearer": "1.0.1",
"passport-oauth2-client-password": "0.1.2",
2016-04-21 12:44:58 +03:00
"path-match": "1.2.4",
"rss": "1.2.2",
2019-01-21 15:33:20 +03:00
"sanitize-html": "1.20.0",
"semver": "5.6.0",
"simple-dom": "0.3.2",
"simple-html-tokenizer": "0.5.7",
"stripe": "^6.22.0",
2015-12-08 14:01:49 +03:00
"unidecode": "0.1.8",
"uuid": "3.3.2",
"validator": "6.3.0",
2016-02-09 00:30:57 +03:00
"xml": "1.0.1"
2015-05-06 02:54:23 +03:00
},
"optionalDependencies": {
"@tryghost/html-to-mobiledoc": "0.2.4",
2019-01-21 15:33:20 +03:00
"sharp": "0.21.3",
"sqlite3": "4.0.6"
2015-05-06 02:54:23 +03:00
},
"devDependencies": {
"eslint": "5.12.1",
"eslint-plugin-ghost": "0.1.0",
"grunt": "1.0.3",
"grunt-bg-shell": "2.3.3",
2019-01-21 15:33:20 +03:00
"grunt-cli": "1.3.2",
"grunt-contrib-clean": "2.0.0",
"grunt-contrib-compress": "1.4.3",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-symlink": "^1.0.0",
"grunt-contrib-uglify": "4.0.0",
"grunt-contrib-watch": "1.1.0",
"grunt-cssnano": "2.1.0",
"grunt-express-server": "0.5.4",
"grunt-mocha-cli": "4.0.0",
"grunt-shell": "3.0.1",
"grunt-subgrunt": "1.3.0",
"grunt-update-submodules": "0.4.1",
"matchdep": "2.0.0",
"mocha": "5.2.0",
2019-01-21 15:33:20 +03:00
"mock-knex": "0.4.3",
"nock": "10.0.6",
"proxyquire": "2.1.0",
"rewire": "4.0.1",
"should": "13.2.3",
"should-http": "0.1.1",
"sinon": "7.2.3",
2019-01-21 15:33:20 +03:00
"supertest": "3.4.1",
"tmp": "0.0.33"
2015-05-06 02:54:23 +03:00
}
}