mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 00:52:36 +03:00
a413d70313
refs #8221 🔥 Remove ghost=true concept from asset url helper ✨ 💯 Introduce CSS minification with cssnano - add new grunt-cssnano dependency - wire up grunt task to minify public/ghost.css 🎨 Rename minification config & hash params - Change minifyInProduction -> hasMinFile - this means this asset should have a .min file available - Change minifyAssets -> useMinFiles - this means that in this env we want to serve .min files if available 🎨 Update public/ghost.css to serve .min for prod - add the new `hasMinFile` property 🎨 Move minified asset handling to asset_url util - this logic should be in the util, not the asset helper - updated tests 📖 Error handler always needs asset helper - this removes the TODO and adds a more sensible comment - we also need to update our theme documentation around error templates 🔥 Don't use asset helper in ghost head - use getAssetUrl util instead! - removed TODO 📖 Update proxy docs 🎨 Simplify asset helper & add tests - this refactor is a step prior to moving this from metadata to being a url util - needed to skip some new tests 🐛 Add missing handler for css file
154 lines
4.0 KiB
JSON
154 lines
4.0 KiB
JSON
{
|
|
"name": "ghost",
|
|
"version": "1.0.0-alpha.18",
|
|
"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",
|
|
"license": "MIT",
|
|
"main": "./core/index",
|
|
"scripts": {
|
|
"start": "node index",
|
|
"test": "grunt validate --verbose",
|
|
"init": "yarn global add knex-migrator ember-cli grunt-cli && yarn install && grunt init || true"
|
|
},
|
|
"engines": {
|
|
"node": "^4.2.0 || ^6.5.0"
|
|
},
|
|
"dependencies": {
|
|
"amperize": "0.3.4",
|
|
"archiver": "1.3.0",
|
|
"bcryptjs": "2.4.3",
|
|
"bluebird": "3.5.0",
|
|
"body-parser": "1.17.0",
|
|
"bookshelf": "0.10.3",
|
|
"brute-knex": "https://github.com/cobbspur/brute-knex/tarball/37439f56965b17d29bb4ff9b3f3222b2f4bd6ce3",
|
|
"bson-objectid": "1.1.5",
|
|
"chalk": "1.1.3",
|
|
"cheerio": "0.22.0",
|
|
"compression": "1.6.2",
|
|
"connect-slashes": "1.3.1",
|
|
"cookie-session": "1.2.0",
|
|
"cors": "2.8.3",
|
|
"csv-parser": "1.11.0",
|
|
"debug": "2.6.3",
|
|
"downsize": "0.0.8",
|
|
"express": "4.15.0",
|
|
"express-brute": "1.0.1",
|
|
"express-hbs": "1.0.4",
|
|
"extract-zip-fork": "1.5.1",
|
|
"fs-extra": "2.1.2",
|
|
"ghost-gql": "0.0.6",
|
|
"ghost-ignition": "2.8.10",
|
|
"ghost-storage-base": "0.0.1",
|
|
"glob": "5.0.15",
|
|
"gscan": "0.2.2",
|
|
"html-to-text": "3.2.0",
|
|
"icojs": "0.7.2",
|
|
"image-size": "0.5.1",
|
|
"intl": "1.2.5",
|
|
"intl-messageformat": "1.3.0",
|
|
"jsonpath": "0.2.11",
|
|
"knex": "0.12.9",
|
|
"knex-migrator": "2.0.16",
|
|
"lodash": "4.17.4",
|
|
"mobiledoc-dom-renderer": "0.6.5",
|
|
"moment": "2.18.1",
|
|
"moment-timezone": "0.5.13",
|
|
"multer": "1.3.0",
|
|
"mysql": "2.13.0",
|
|
"nconf": "0.8.4",
|
|
"netjet": "1.1.3",
|
|
"nodemailer": "0.7.1",
|
|
"oauth2orize": "1.8.0",
|
|
"passport": "0.3.2",
|
|
"passport-ghost": "2.3.1",
|
|
"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.14.1",
|
|
"semver": "5.3.0",
|
|
"showdown-ghost": "0.3.6",
|
|
"simple-dom": "0.3.2",
|
|
"simple-html-tokenizer": "0.4.1",
|
|
"superagent": "3.5.2",
|
|
"unidecode": "0.1.8",
|
|
"uuid": "3.0.0",
|
|
"validator": "6.3.0",
|
|
"xml": "1.0.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"sqlite3": "3.1.8"
|
|
},
|
|
"devDependencies": {
|
|
"grunt": "1.0.1",
|
|
"grunt-bg-shell": "2.3.3",
|
|
"grunt-cli": "1.2.0",
|
|
"grunt-contrib-clean": "1.0.0",
|
|
"grunt-contrib-compress": "1.3.0",
|
|
"grunt-contrib-copy": "1.0.0",
|
|
"grunt-contrib-jshint": "1.0.0",
|
|
"grunt-contrib-uglify": "2.0.0",
|
|
"grunt-contrib-watch": "1.0.0",
|
|
"grunt-cssnano": "2.1.0",
|
|
"grunt-docker": "0.0.11",
|
|
"grunt-express-server": "0.5.3",
|
|
"grunt-jscs": "3.0.1",
|
|
"grunt-mocha-cli": "2.1.0",
|
|
"grunt-mocha-istanbul": "5.0.2",
|
|
"grunt-shell": "1.3.1",
|
|
"grunt-subgrunt": "1.2.0",
|
|
"grunt-update-submodules": "0.4.1",
|
|
"istanbul": "0.4.5",
|
|
"jshint": "2.9.4",
|
|
"jshint-stylish": "2.2.1",
|
|
"matchdep": "1.0.1",
|
|
"minimist": "1.2.0",
|
|
"mocha": "3.2.0",
|
|
"nock": "9.0.11",
|
|
"rewire": "2.5.2",
|
|
"run-sequence": "1.2.2",
|
|
"should": "11.2.1",
|
|
"should-http": "0.1.1",
|
|
"sinon": "1.17.7",
|
|
"supertest": "3.0.0",
|
|
"tmp": "0.0.31"
|
|
},
|
|
"greenkeeper": {
|
|
"ignore": [
|
|
"glob",
|
|
"nodemailer",
|
|
"showdown-ghost",
|
|
"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"
|
|
]
|
|
}
|
|
}
|