Ghost/ghost/admin/package.json
Kevin Ansfield 35cf6c9829 new publish menu and date/time picker (#588)
closes https://github.com/TryGhost/Ghost/issues/8249

- replaces the old split-button publish/schedule/update button with a less confusing menu system
- adds a `{{gh-date-time-picker}}` component that contains a datepicker with separate time input
- replaces the date text input in the post settings menu with `{{gh-date-time-picker}}`
  - disabled when post is scheduled, only way to update a scheduled time is via the publish menu
  - validates date is in the past when draft/published so there's no confusion with scheduling
- displays saving status in top-left of editor screen
- refactor editor (auto)saving processes to use ember-concurrency

Other minor changes:
- adds `post.publishedAtBlog{TZ,Date,Time}` properties to Post model to allow working with `publishedAt` datetime in the selected blog timezone rather than UTC
- adds a `beforeSave` hook to `validation-engine` that is called after successful validation and before the Ember Data save call is made
- adds validation of `publishedAtBlog{Date,Time}` to post validator
- prevent gh-task-button showing last task state on first render
- fixes bug where clicking into and out of the published date input in the PSM without making any changes saves a published date for draft posts
2017-04-11 14:39:45 +01:00

124 lines
3.6 KiB
JSON

{
"name": "ghost-admin",
"version": "1.0.0-alpha.18",
"description": "Ember.js admin client for Ghost",
"author": "Ghost Foundation",
"homepage": "http://ghost.org",
"repository": {
"type": "git",
"url": "git://github.com/TryGhost/Ghost-Admin.git"
},
"bugs": "https://github.com/TryGhost/Ghost/issues",
"contributors": "https://github.com/TryGhost/Ghost-Admin/graphs/contributors",
"license": "MIT",
"private": true,
"directories": {
"test": "tests"
},
"scripts": {
"start": "ember server",
"build": "ember build",
"test": "ember test",
"lint": "ember test --launch phantomjs -f 'ESLint'",
"coverage": "cat ./coverage/lcov.info | coveralls"
},
"engines": {
"node": ">= 4"
},
"devDependencies": {
"autoprefixer": "6.7.7",
"blueimp-md5": "2.7.0",
"bower": "1.8.0",
"broccoli-asset-rev": "2.5.0",
"broccoli-clean-css": "^2.0.1",
"broccoli-concat": "3.2.2",
"broccoli-funnel": "1.1.0",
"broccoli-merge-trees": "2.0.0",
"broccoli-uglify-js": "0.2.0",
"chai-jquery": "2.0.0",
"codemirror": "5.25.0",
"coveralls": "2.13.0",
"csscomb": "4.0.1",
"cssnano": "3.10.0",
"ember-ajax": "2.5.6",
"ember-cli": "2.12.1",
"ember-cli-active-link-wrapper": "0.3.2",
"ember-cli-app-version": "3.0.0",
"ember-cli-babel": "5.2.4",
"ember-cli-chai": "0.3.2",
"ember-cli-code-coverage": "0.3.11",
"ember-cli-dependency-checker": "1.3.0",
"ember-cli-eslint": "3.0.3",
"ember-cli-htmlbars": "1.2.0",
"ember-cli-htmlbars-inline-precompile": "0.3.6",
"ember-cli-inject-live-reload": "1.6.1",
"ember-cli-mirage": "0.2.8",
"ember-cli-mocha": "0.13.2",
"ember-cli-moment-shim": "3.1.0",
"ember-cli-node-assets": "0.2.2",
"ember-cli-postcss": "3.2.0",
"ember-cli-pretender": "1.0.1",
"ember-cli-selectize": "0.5.12",
"ember-cli-shims": "1.1.0",
"ember-cli-test-loader": "2.0.0",
"ember-cli-uglify": "1.2.0",
"ember-composable-helpers": "2.0.0",
"ember-concurrency": "0.8.1",
"ember-data": "2.12.1",
"ember-data-filter": "1.13.0",
"ember-export-application-global": "2.0.0",
"ember-infinity": "0.2.8",
"ember-inline-svg": "0.1.8",
"ember-invoke-action": "1.4.0",
"ember-light-table": "1.8.4",
"ember-load": "0.0.11",
"ember-load-initializers": "1.0.0",
"ember-native-dom-helpers": "0.3.5",
"ember-one-way-controls": "2.0.0",
"ember-power-datepicker": "0.2.2",
"ember-power-select": "1.6.1",
"ember-resolver": "4.1.0",
"ember-responsive": "2.0.2",
"ember-route-action-helper": "2.0.2",
"ember-simple-auth": "1.2.1",
"ember-sinon": "0.7.0",
"ember-sortable": "1.9.1",
"ember-source": "2.12.0",
"ember-test-selectors": "0.3.0",
"ember-truth-helpers": "1.3.0",
"ember-wormhole": "0.5.1",
"emberx-file-input": "1.1.2",
"eslint-plugin-ember-suave": "1.0.0",
"fs-extra": "2.1.2",
"glob": "7.1.1",
"grunt": "1.0.1",
"grunt-shell": "2.1.0",
"jquery-deparam": "0.5.3",
"liquid-fire": "0.27.2",
"liquid-wormhole": "2.0.4",
"loader.js": "4.2.3",
"matchdep": "1.0.1",
"mobiledoc-kit": "0.10.15",
"password-generator": "2.1.0",
"postcss-color-function": "3.0.0",
"postcss-custom-properties": "5.0.2",
"postcss-easy-import": "2.0.0",
"top-gh-contribs": "2.0.4",
"torii": "0.8.2",
"walk-sync": "0.3.1"
},
"ember-addon": {
"paths": [
"lib/asset-delivery",
"lib/gh-koenig"
]
},
"greenkeeper": {
"ignore": [
"grunt",
"grunt-bg-shell",
"grunt-shell"
]
}
}