7f3876e456
refs #7427 - Deleting the `built` or `dist` directory doesn't result in an error, when running `gulp dev` - Adds default task as `gulp dev` - Adds abbreviations for the repositories in `gulp setup` task (`--ghost` -> `-g`, `--admin` -> `-a` and `--casper` -> `-c`) to type less 😊 - Installs dependencies on `gulp dev`, if called with `--deps` or `-d` - Sets `verbose` option nodemon to default (=`false`) to have less unneccessary logging. - Will do a delete of all dependencies and install them again ('FFS'), if `gulp deps` is called with a force flag. - Will update submodules not matter what, if `gulp submodules` is called with a force flag. Calling `gulp submodules` without the force flag will only update/initiate the submodules, if the folders don't exist. - Better logging messages and sequential task handling. - Removes `gulp-shell` as dependency, as this is on gulp's blacklist - Refactors code, that used `gulp-shell` to use `child_process.exec` or `spawn` instead. - Exits properly if node crashes ----------------------- Tasks available after this PR: - `gulp server`: Starts a nodemon server with livereload of the ghost core only. No client build here. - `gulp dev`: [ --deps | -d ] Starts development mode for Ghost, incl. client build and livereload for both. Will also update the submodules if the directories are missing. If called with with `--deps` flag, it will install client and core dependencies. - `gulp submodules`: [ --force | -f ] Will update the submodules, if directories are missing. Will update no matter what, if called with force flag. - `gulp deps`: [ --force | -f ] Will update client and core dependencies. Does a fresh install of both (delete, cache clear and install) if called with force flag. - `gulp setup`: </br>[ --ghost | -g 'branch' or 'pr/1234' ] [ --admin | -a 'branch' or 'pr/1234' ] [ --casper | -c 'branch' or 'pr/1234' ] [ --force | -f ] Takes various - optional - parameters. If called without parameters, this task will update submodules first (if directory doesn't exist) and then install client and core dependendies. If called with branch 'master', submodules will be updated. Calling with the force flag will do a clean install of the dependencies. There's no autocomplete for branchnames at the moment 😔 To check out a PR (e. g. `--ghost pr/7444`), it is necessary, that you add an additional fetch line in the `.git/config` file for each repository: `fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*`. See https://dev.ghost.org/easy-git-pr-test/ for further information.
128 lines
3.1 KiB
JSON
128 lines
3.1 KiB
JSON
{
|
|
"name": "ghost",
|
|
"version": "1.0.0-alpha.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",
|
|
"license": "MIT",
|
|
"main": "./core/index",
|
|
"scripts": {
|
|
"start": "node index",
|
|
"test": "grunt validate --verbose"
|
|
},
|
|
"engines": {
|
|
"node": "~0.12.0 || ^4.2.0 || ^6.5.0"
|
|
},
|
|
"dependencies": {
|
|
"amperize": "0.3.1",
|
|
"archiver": "1.1.0",
|
|
"bcryptjs": "2.3.0",
|
|
"bluebird": "3.4.6",
|
|
"body-parser": "1.15.2",
|
|
"bookshelf": "0.10.1",
|
|
"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.1",
|
|
"csv-parser": "1.11.0",
|
|
"downsize": "0.0.8",
|
|
"express": "4.14.0",
|
|
"express-hbs": "1.0.3",
|
|
"extract-zip-fork": "1.5.1",
|
|
"fs-extra": "0.30.0",
|
|
"ghost-gql": "0.0.5",
|
|
"glob": "5.0.15",
|
|
"gscan": "0.0.15",
|
|
"html-to-text": "2.1.3",
|
|
"image-size": "0.5.0",
|
|
"intl": "1.2.5",
|
|
"intl-messageformat": "1.3.0",
|
|
"jsonpath": "0.2.7",
|
|
"knex": "0.12.1",
|
|
"lodash": "4.16.0",
|
|
"moment": "2.15.1",
|
|
"mobiledoc-html-renderer": "0.3.0",
|
|
"moment-timezone": "0.5.5",
|
|
"morgan": "1.7.0",
|
|
"multer": "1.2.0",
|
|
"netjet": "1.1.3",
|
|
"nconf": "0.8.4",
|
|
"node-uuid": "1.4.7",
|
|
"nodemailer": "0.7.1",
|
|
"oauth2orize": "1.5.0",
|
|
"passport": "0.3.2",
|
|
"passport-http-bearer": "1.0.1",
|
|
"passport-oauth2-client-password": "0.1.2",
|
|
"path-match": "1.2.4",
|
|
"rss": "1.2.1",
|
|
"sanitize-html": "1.13.0",
|
|
"semver": "5.3.0",
|
|
"showdown-ghost": "0.3.6",
|
|
"sqlite3": "3.1.4",
|
|
"superagent": "2.3.0",
|
|
"unidecode": "0.1.8",
|
|
"validator": "5.7.0",
|
|
"xml": "1.0.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"mysql": "2.11.1"
|
|
},
|
|
"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-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",
|
|
"gulp": "3.9.1",
|
|
"gulp-git-submodule": "1.0.1",
|
|
"gulp-livereload": "3.8.1",
|
|
"gulp-nodemon": "2.1.0",
|
|
"gulp-util": "3.0.7",
|
|
"istanbul": "0.4.5",
|
|
"matchdep": "1.0.1",
|
|
"minimist": "1.2.0",
|
|
"mocha": "3.0.2",
|
|
"nock": "8.0.0",
|
|
"rewire": "2.5.2",
|
|
"run-sequence": "1.2.2",
|
|
"should": "11.1.0",
|
|
"should-http": "0.0.4",
|
|
"sinon": "1.17.6",
|
|
"supertest": "1.2.0",
|
|
"tmp": "0.0.29"
|
|
},
|
|
"greenkeeper": {
|
|
"ignore": [
|
|
"glob",
|
|
"mysql",
|
|
"nodemailer",
|
|
"showdown-ghost"
|
|
]
|
|
}
|
|
}
|