Ghost/package.json

200 lines
7.0 KiB
JSON
Raw Normal View History

{
2015-05-06 02:54:23 +03:00
"name": "ghost",
2021-07-12 20:53:22 +03:00
"version": "4.9.4",
"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
"scripts": {
"start": "node index",
"dev": "grunt dev",
"dev:debug": "DEBUG=ghost:* grunt dev",
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || (exit 0)",
Improved dev tooling (#13118) This commit achieves a few things: - ☑️ No longer having to remember whether a command is yarn something or grunt something - ☑️ Simplification of tools hopefully making them easier to remember and use - ☑️ Complete removal of the need for grunt from our test tooling Several of the tools still use grunt under the hood, but the **entrypoint** should aways be `yarn xxx`. - `grunt main` -> `yarn main` - `grunt dev` -> `yarn dev` - `grunt build` -> `yarn build` - `grunt test:file-or-folder` -> `yarn test file-or-folder` - `grunt test-unit` -> `yarn test:unit` - `grunt test-acceptance` -> `yarn test:acceptance` - `grunt test-regression` -> `yarn test:regression` - `grunt validate` -> removed due to lack of use There is now also `yarn test:all` to run all 3 classes of tests This PR also reorders & restructures the Gruntfile extensively so that: - The remaining useful commands are all at the top of the file - Config and other blah happens after all the useful commands - All release-only config happens in the release task at the very end of the file --- DONE: * Removed all references to npm/bower * Removed all references to lint / deprecated command * Moved debug to yarn dev:debug * Removed all references to travis * Removed broken help task + useless comment * Removed unused knex-migrator and clean:test setup tasks * Added new test commands, removed grunt validate * Moved stubClientFiles to test utility and use in the few tests that need it * Used mocha in yarn directly except grunt test:x * Swapped grunt test for yarn test * extensive cleanup and reshuffling
2021-07-05 22:02:22 +03:00
"main": "grunt shell:main && grunt subgrunt:init",
"build": "grunt build",
"test": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js --timeout=60000",
"test:all": "yarn test:unit && yarn test:acceptance && yarn lint",
"test:debug": "DEBUG=ghost:test* yarn test",
"test:unit": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/unit' --timeout=2000",
"test:acceptance": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/api-acceptance' './test/frontend-acceptance' --timeout=10000",
"test:regression": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000",
Improved dev tooling (#13118) This commit achieves a few things: - ☑️ No longer having to remember whether a command is yarn something or grunt something - ☑️ Simplification of tools hopefully making them easier to remember and use - ☑️ Complete removal of the need for grunt from our test tooling Several of the tools still use grunt under the hood, but the **entrypoint** should aways be `yarn xxx`. - `grunt main` -> `yarn main` - `grunt dev` -> `yarn dev` - `grunt build` -> `yarn build` - `grunt test:file-or-folder` -> `yarn test file-or-folder` - `grunt test-unit` -> `yarn test:unit` - `grunt test-acceptance` -> `yarn test:acceptance` - `grunt test-regression` -> `yarn test:regression` - `grunt validate` -> removed due to lack of use There is now also `yarn test:all` to run all 3 classes of tests This PR also reorders & restructures the Gruntfile extensively so that: - The remaining useful commands are all at the top of the file - Config and other blah happens after all the useful commands - All release-only config happens in the release task at the very end of the file --- DONE: * Removed all references to npm/bower * Removed all references to lint / deprecated command * Moved debug to yarn dev:debug * Removed all references to travis * Removed broken help task + useless comment * Removed unused knex-migrator and clean:test setup tasks * Added new test commands, removed grunt validate * Moved stubClientFiles to test utility and use in the few tests that need it * Used mocha in yarn directly except grunt test:x * Swapped grunt test for yarn test * extensive cleanup and reshuffling
2021-07-05 22:02:22 +03:00
"test:slow": "yarn test:unit --reporter=mocha-slow-test-reporter && yarn test:acceptance --reporter=mocha-slow-test-reporter",
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'",
"lint:shared": "eslint --ignore-path .eslintignore 'core/shared/**/*.js'",
"lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js'",
"lint:test": "eslint -c test/.eslintrc.js --ignore-path test/.eslintignore 'test/**/*.js'",
"lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend",
"lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
"fix:client": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../",
"fix:server": "yarn cache clean && rm -rf node_modules && yarn",
"fix": "yarn fix:client && yarn fix:server"
2015-05-06 02:54:23 +03:00
},
"engines": {
"node": "^12.22.1 || ^14.16.1",
"cli": "^1.17.0"
2015-05-06 02:54:23 +03:00
},
"dependencies": {
2021-04-19 17:14:58 +03:00
"@nexes/nql": "0.5.2",
"@sentry/node": "6.9.0",
"@tryghost/adapter-manager": "0.2.14",
"@tryghost/admin-api-schema": "2.5.0",
"@tryghost/bookshelf-plugins": "0.1.4",
"@tryghost/bootstrap-socket": "0.2.9",
"@tryghost/config-url-helpers": "0.1.0",
"@tryghost/constants": "0.1.8",
"@tryghost/debug": "0.1.3",
"@tryghost/email-analytics-provider-mailgun": "1.0.0",
"@tryghost/email-analytics-service": "1.0.0",
"@tryghost/errors": "0.2.13",
"@tryghost/helpers": "1.1.49",
"@tryghost/image-transform": "1.0.13",
"@tryghost/job-manager": "0.8.7",
"@tryghost/kg-card-factory": "3.0.0",
"@tryghost/kg-default-atoms": "3.0.0",
"@tryghost/kg-default-cards": "5.0.0",
"@tryghost/kg-markdown-html-renderer": "5.0.0",
"@tryghost/kg-mobiledoc-html-renderer": "5.0.0",
"@tryghost/limit-service": "0.6.1",
"@tryghost/logging": "0.1.4",
"@tryghost/magic-link": "1.0.7",
"@tryghost/members-api": "1.22.1",
"@tryghost/members-csv": "1.1.2",
"@tryghost/members-ssr": "1.0.8",
"@tryghost/mw-session-from-token": "0.1.22",
"@tryghost/package-json": "1.0.2",
"@tryghost/promise": "0.1.9",
"@tryghost/request": "0.1.3",
"@tryghost/root-utils": "0.3.2",
"@tryghost/security": "0.2.9",
"@tryghost/session-service": "0.1.24",
"@tryghost/social-urls": "0.1.25",
"@tryghost/string": "0.1.19",
"@tryghost/tpl": "0.1.3",
"@tryghost/update-check-service": "0.2.0",
"@tryghost/url-utils": "2.0.1",
"@tryghost/validator": "0.1.3",
"@tryghost/version": "0.1.2",
"@tryghost/vhost-middleware": "1.0.15",
"@tryghost/zip": "1.1.14",
2020-03-02 03:20:46 +03:00
"amperize": "0.6.1",
2021-07-19 12:26:18 +03:00
"analytics-node": "5.0.0",
2019-12-02 03:24:08 +03:00
"bluebird": "3.7.2",
"body-parser": "1.19.0",
"bookshelf": "0.15.2",
"bookshelf-relations": "1.4.1",
2020-11-02 20:07:12 +03:00
"brute-knex": "4.0.1",
2021-04-21 17:52:55 +03:00
"bson-objectid": "2.0.1",
"bthreads": "0.5.1",
"cheerio": "0.22.0",
"compression": "1.7.4",
"connect-slashes": "1.4.0",
"cookie-session": "1.4.0",
2019-01-21 15:33:20 +03:00
"cors": "2.8.5",
2015-05-06 02:54:23 +03:00
"downsize": "0.0.8",
2019-07-02 03:40:19 +03:00
"express": "4.17.1",
"express-brute": "1.0.1",
"express-hbs": "2.4.0",
"express-jwt": "6.0.0",
"express-query-boolean": "2.0.0",
"express-session": "1.17.2",
2021-05-05 17:51:30 +03:00
"fs-extra": "10.0.0",
"ghost-storage-base": "0.0.4",
2021-05-07 01:37:19 +03:00
"glob": "7.1.7",
"got": "9.6.0",
"gscan": "4.1.3",
2019-07-02 03:43:18 +03:00
"html-to-text": "5.1.1",
2021-05-05 18:55:14 +03:00
"image-size": "1.0.0",
"intl": "1.2.5",
"intl-messageformat": "5.4.3",
2021-04-15 00:51:55 +03:00
"js-yaml": "4.1.0",
2021-04-01 23:00:01 +03:00
"jsonpath": "1.1.1",
"jsonwebtoken": "8.5.1",
2021-05-26 11:23:00 +03:00
"juice": "8.0.0",
2021-04-12 11:50:08 +03:00
"keypair": "1.0.3",
2021-03-03 10:38:45 +03:00
"knex": "0.21.19",
"knex-migrator": "4.0.4",
2021-02-23 00:53:57 +03:00
"lodash": "4.17.21",
2019-11-07 11:26:17 +03:00
"mailgun-js": "0.22.0",
2021-07-19 14:38:44 +03:00
"metascraper": "5.22.11",
"metascraper-author": "5.22.11",
"metascraper-description": "5.22.11",
"metascraper-image": "5.22.11",
"metascraper-logo": "5.22.11",
"metascraper-logo-favicon": "5.22.11",
"metascraper-publisher": "5.22.11",
"metascraper-title": "5.22.11",
"metascraper-url": "5.22.11",
"moment": "2.24.0",
"moment-timezone": "0.5.23",
2019-07-23 13:26:52 +03:00
"multer": "1.4.2",
2020-02-19 14:11:32 +03:00
"mysql": "2.18.1",
2021-06-21 14:17:14 +03:00
"nconf": "0.11.3",
2020-09-21 04:06:26 +03:00
"node-jose": "2.0.0",
2015-05-06 02:54:23 +03:00
"nodemailer": "0.7.1",
"oembed-parser": "1.4.7",
2021-04-22 11:53:38 +03:00
"passport": "0.4.1",
"passport-google-oauth": "2.0.0",
2016-04-21 12:44:58 +03:00
"path-match": "1.2.4",
"probe-image-size": "5.0.0",
"rss": "1.2.2",
"sanitize-html": "2.4.0",
2021-03-23 12:15:11 +03:00
"semver": "7.3.5",
"stoppable": "1.1.0",
"tough-cookie": "4.0.0",
2020-12-09 00:23:14 +03:00
"uuid": "8.3.2",
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.7.16",
2021-04-15 16:46:12 +03:00
"sqlite3": "5.0.2"
2015-05-06 02:54:23 +03:00
},
"devDependencies": {
"@lodder/grunt-postcss": "3.0.1",
"coffeescript": "2.5.1",
2021-06-11 14:34:17 +03:00
"cssnano": "5.0.6",
2021-07-19 04:06:44 +03:00
"eslint": "7.31.0",
"eslint-plugin-ghost": "2.6.0",
2021-05-25 04:40:38 +03:00
"grunt": "1.4.1",
"grunt-bg-shell": "2.3.3",
"grunt-contrib-clean": "2.0.0",
"grunt-contrib-compress": "2.0.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-symlink": "1.0.0",
"grunt-contrib-watch": "1.1.0",
"grunt-express-server": "0.5.4",
"grunt-shell": "3.0.1",
"grunt-subgrunt": "1.3.0",
"grunt-update-submodules": "0.4.1",
2021-07-19 04:46:41 +03:00
"jwks-rsa": "2.0.4",
2021-07-05 03:37:17 +03:00
"mocha": "9.0.2",
"mocha-slow-test-reporter": "0.1.2",
2021-05-18 12:44:45 +03:00
"mock-knex": "0.4.10",
2021-07-05 10:44:08 +03:00
"nock": "13.1.1",
2021-05-28 12:01:58 +03:00
"papaparse": "5.3.1",
2021-06-17 11:23:04 +03:00
"postcss": "8.3.5",
2020-03-16 12:00:44 +03:00
"rewire": "5.0.0",
"should": "13.2.3",
2021-05-26 18:58:01 +03:00
"sinon": "11.1.1",
2021-01-26 00:47:40 +03:00
"supertest": "6.1.3",
"tmp": "0.2.1"
},
"resolutions": {
"moment": "2.24.0",
"moment-timezone": "0.5.23"
2015-05-06 02:54:23 +03:00
}
}