Ghost/package.json
juan-g f671f9d2c9 Theme translations and blog localisation (#8437)
refs #5345, refs #3801

- Blog localisation
  - default is `en` (English)
  - you can change the language code in the admin panel, see https://github.com/TryGhost/Ghost-Admin/pull/703
  - blog behaviour changes depending on the language e.g. date helper format
  - theme translation get's loaded if available depending on the language setting
  - falls back to english if not available

- Theme translation
  - complete automatic translation of Ghost's frontend for site visitors (themes, etc.), to quickly deploy a site in a non-English language
  - added {{t}} and {{lang}} helper
  - no backend or admin panel translations (!)
  - easily readable translation keys - very simple translation
  - server restart required when adding new language files or changing existing files in the theme
  - no language code validation for now (will be added soon)
  - a full theme translation requires to translate Ghost core templates (e.g. subscriber form)
  - when activating a different theme, theme translations are auto re-loaded
  - when switching language of blog, theme translations are auto re-loaded

- Bump gscan to version 1.3.0 to support more known helpers

**Documentation can be found at https://themes.ghost.org/v1.20.0/docs/i18n.**
2018-01-09 14:50:57 +01:00

156 lines
4.1 KiB
JSON

{
"name": "ghost",
"version": "1.19.2",
"description": "The professional publishing 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",
"license": "MIT",
"main": "./core/index",
"scripts": {
"start": "node index",
"dev": "DEBUG=ghost:* grunt dev",
"test": "grunt validate --verbose",
"init": "yarn global add knex-migrator ember-cli grunt-cli && yarn install && grunt symlink && grunt init || true"
},
"engines": {
"node": "^4.5.0 || ^6.9.0 || ^8.9.0",
"cli": "^1.3.0"
},
"dependencies": {
"amperize": "0.3.7",
"analytics-node": "2.4.1",
"archiver": "1.3.0",
"bcryptjs": "2.4.3",
"bluebird": "3.5.1",
"body-parser": "1.18.2",
"bookshelf": "0.10.3",
"bookshelf-relations": "0.1.4",
"brute-knex": "https://github.com/cobbspur/brute-knex/tarball/37439f56965b17d29bb4ff9b3f3222b2f4bd6ce3",
"bson-objectid": "1.2.2",
"chalk": "1.1.3",
"cheerio": "0.22.0",
"compression": "1.7.1",
"connect-slashes": "1.3.1",
"cookie-session": "1.3.2",
"cors": "2.8.4",
"csv-parser": "1.12.0",
"downsize": "0.0.8",
"express": "4.16.2",
"express-brute": "1.0.1",
"express-hbs": "1.0.4",
"extract-zip": "1.6.6",
"fs-extra": "3.0.1",
"ghost-gql": "0.0.8",
"ghost-ignition": "2.8.16",
"ghost-storage-base": "0.0.1",
"glob": "5.0.15",
"got": "7.1.0",
"gscan": "1.3.0",
"html-to-text": "3.3.0",
"image-size": "0.6.2",
"intl": "1.2.5",
"intl-messageformat": "1.3.0",
"jsonpath": "1.0.0",
"knex": "0.12.9",
"knex-migrator": "3.1.3",
"lodash": "4.17.4",
"markdown-it": "8.4.0",
"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.19.2",
"moment-timezone": "0.5.14",
"multer": "1.3.0",
"mysql": "2.15.0",
"nconf": "0.10.0",
"netjet": "1.1.4",
"nodemailer": "0.7.1",
"oauth2orize": "1.11.0",
"passport": "0.4.0",
"passport-http-bearer": "1.0.1",
"passport-oauth2-client-password": "0.1.2",
"path-match": "1.2.4",
"rss": "1.2.2",
"sanitize-html": "1.16.3",
"semver": "5.4.1",
"simple-dom": "0.3.2",
"simple-html-tokenizer": "0.4.3",
"superagent": "3.8.2",
"unidecode": "0.1.8",
"uuid": "3.1.0",
"validator": "6.3.0",
"xml": "1.0.1"
},
"optionalDependencies": {
"sqlite3": "3.1.13"
},
"devDependencies": {
"eslint": "4.14.0",
"grunt": "1.0.1",
"grunt-bg-shell": "2.3.3",
"grunt-cli": "1.2.0",
"grunt-contrib-clean": "1.1.0",
"grunt-contrib-compress": "1.4.3",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-symlink": "^1.0.0",
"grunt-contrib-uglify": "3.3.0",
"grunt-contrib-watch": "1.0.0",
"grunt-cssnano": "2.1.0",
"grunt-docker": "0.0.11",
"grunt-eslint": "20.1.0",
"grunt-express-server": "0.5.3",
"grunt-mocha-cli": "3.0.0",
"grunt-mocha-istanbul": "5.0.2",
"grunt-shell": "2.1.0",
"grunt-subgrunt": "1.3.0",
"grunt-update-submodules": "0.4.1",
"istanbul": "0.4.5",
"matchdep": "2.0.0",
"minimist": "1.2.0",
"mocha": "4.1.0",
"nock": "9.1.5",
"rewire": "3.0.2",
"should": "13.2.0",
"should-http": "0.1.1",
"sinon": "4.1.3",
"supertest": "3.0.0",
"tmp": "0.0.33"
},
"greenkeeper": {
"ignore": [
"glob",
"nodemailer",
"grunt",
"grunt-bg-shell",
"grunt-cli",
"grunt-contrib-clean",
"grunt-contrib-compress",
"grunt-contrib-copy",
"grunt-contrib-jshint",
"grunt-contrib-uglify",
"grunt-contrib-watch",
"grunt-docker",
"grunt-express-server",
"grunt-jscs",
"grunt-mocha-cli",
"grunt-mocha-istanbul",
"grunt-shell",
"grunt-subgrunt",
"grunt-update-submodules",
"sinon"
]
}
}