Ghost/package.json

233 lines
8.7 KiB
JSON
Raw Normal View History

{
2015-05-06 02:54:23 +03:00
"name": "ghost",
2022-04-28 17:29:18 +03:00
"version": "4.46.0",
"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:integration && yarn test:e2e && yarn lint",
"test:debug": "DEBUG=ghost:test* yarn test",
"test:unit": "c8 yarn test:unit:base",
"test:unit:base": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/unit' --timeout=2000",
"test:integration": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/integration' --timeout=5000",
"test:e2e": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/e2e-api' './test/e2e-frontend' './test/e2e-server' --timeout=10000",
"test:regression": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000",
"test:browser": "playwright test --browser=all test/e2e-browser",
"test:ci": "yarn test:e2e -b && yarn test:integration -b && yarn test:regression -b",
"test:unit:slow": "yarn test:unit --reporter=mocha-slow-test-reporter",
"test:int:slow": "yarn test:integration --reporter=mocha-slow-test-reporter",
"test:e2e:slow": "yarn test:e2e --reporter=mocha-slow-test-reporter",
"test:reg:slow": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000 --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:admin": "yarn cache clean && cd core/admin && rm -rf node_modules tmp dist && yarn && cd ../../",
"fix:server": "yarn cache clean && rm -rf node_modules && yarn",
"fix": "yarn fix:admin && yarn fix:server"
2015-05-06 02:54:23 +03:00
},
"engines": {
"node": "^14.17.0 || ^16.13.0",
"cli": "^1.17.0"
2015-05-06 02:54:23 +03:00
},
"dependencies": {
"@sentry/node": "6.19.7",
"@tryghost/adapter-manager": "0.2.31",
"@tryghost/admin-api-schema": "4.0.0",
"@tryghost/api-version-compatibility-service": "0.4.1",
"@tryghost/bookshelf-plugins": "0.4.1",
"@tryghost/bootstrap-socket": "0.2.20",
"@tryghost/color-utils": "0.1.17",
"@tryghost/config-url-helpers": "1.0.0",
"@tryghost/constants": "1.0.5",
"@tryghost/custom-theme-settings-service": "0.3.3",
"@tryghost/database-info": "0.3.5",
"@tryghost/debug": "0.1.16",
"@tryghost/domain-events": "0.1.14",
"@tryghost/email-analytics-provider-mailgun": "1.0.9",
"@tryghost/email-analytics-service": "1.0.7",
"@tryghost/email-content-generator": "0.1.2",
"@tryghost/errors": "1.2.12",
"@tryghost/express-dynamic-redirects": "0.2.13",
"@tryghost/helpers": "1.1.69",
"@tryghost/image-transform": "1.0.32",
"@tryghost/job-manager": "0.8.24",
"@tryghost/kg-card-factory": "3.1.3",
"@tryghost/kg-default-atoms": "3.1.2",
"@tryghost/kg-default-cards": "5.16.2",
"@tryghost/kg-markdown-html-renderer": "5.1.5",
"@tryghost/kg-mobiledoc-html-renderer": "5.3.5",
"@tryghost/limit-service": "1.2.0",
"@tryghost/logging": "2.1.8",
"@tryghost/magic-link": "1.0.26",
"@tryghost/member-events": "0.4.6",
"@tryghost/members-api": "8.0.1",
"@tryghost/members-events-service": "0.4.3",
"@tryghost/members-importer": "0.5.15",
"@tryghost/members-offers": "0.11.6",
"@tryghost/members-ssr": "1.0.28",
"@tryghost/members-stripe-service": "0.10.5",
"@tryghost/metrics": "1.0.11",
"@tryghost/minifier": "0.1.15",
"@tryghost/mw-api-version-mismatch": "0.2.1",
"@tryghost/mw-error-handler": "1.0.1",
"@tryghost/mw-session-from-token": "0.1.32",
"@tryghost/nodemailer": "0.3.22",
"@tryghost/nql": "0.9.2",
"@tryghost/package-json": "1.0.21",
"@tryghost/pretty-cli": "1.2.27",
"@tryghost/promise": "0.1.18",
"@tryghost/request": "0.1.26",
"@tryghost/root-utils": "0.3.14",
"@tryghost/security": "0.3.1",
"@tryghost/session-service": "0.1.42",
"@tryghost/settings-path-manager": "0.1.7",
"@tryghost/social-urls": "0.1.32",
"@tryghost/stats-service": "0.2.2",
"@tryghost/string": "0.1.26",
"@tryghost/tpl": "0.1.16",
"@tryghost/update-check-service": "0.3.4",
"@tryghost/url-utils": "4.0.1",
"@tryghost/validator": "0.1.24",
"@tryghost/verification-trigger": "0.2.5",
"@tryghost/version": "0.1.14",
"@tryghost/vhost-middleware": "1.0.25",
"@tryghost/zip": "1.1.25",
2020-03-02 03:20:46 +03:00
"amperize": "0.6.1",
2021-11-22 09:48:04 +03:00
"analytics-node": "6.0.0",
2019-12-02 03:24:08 +03:00
"bluebird": "3.7.2",
"body-parser": "1.20.0",
2020-08-03 22:36:53 +03:00
"bookshelf": "1.2.0",
"bookshelf-relations": "2.4.0",
2020-11-02 20:07:12 +03:00
"brute-knex": "4.0.1",
"bson-objectid": "2.0.3",
"bthreads": "0.5.1",
"chalk": "4.1.2",
"cheerio": "0.22.0",
"compression": "1.7.4",
"connect-slashes": "1.4.0",
2022-03-24 15:37:31 +03:00
"cookie-session": "2.0.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",
2022-04-30 00:07:20 +03:00
"express": "4.18.1",
"express-brute": "1.0.1",
"express-hbs": "2.4.0",
"express-jwt": "7.7.2",
"express-lazy-router": "1.0.4",
"express-query-boolean": "2.0.0",
"express-session": "1.17.3",
2022-04-18 18:32:12 +03:00
"fs-extra": "10.1.0",
"ghost-storage-base": "1.0.0",
2022-05-14 02:55:59 +03:00
"glob": "8.0.3",
"got": "9.6.0",
2022-05-19 18:21:39 +03:00
"gscan": "4.29.1",
"html-to-text": "8.2.0",
2022-01-11 11:32:11 +03:00
"image-size": "1.0.1",
"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-10-12 00:11:01 +03:00
"keypair": "1.0.4",
"knex": "2.0.0",
"knex-migrator": "4.2.10",
2021-02-23 00:53:57 +03:00
"lodash": "4.17.21",
2022-05-09 06:40:41 +03:00
"luxon": "2.4.0",
2019-11-07 11:26:17 +03:00
"mailgun-js": "0.22.0",
2022-04-11 23:47:04 +03:00
"metascraper": "5.29.3",
"metascraper-author": "5.29.3",
"metascraper-description": "5.29.3",
"metascraper-image": "5.29.3",
"metascraper-logo": "5.29.3",
"metascraper-logo-favicon": "5.29.3",
"metascraper-publisher": "5.29.3",
"metascraper-title": "5.29.3",
"metascraper-url": "5.29.3",
"moment": "2.24.0",
"moment-timezone": "0.5.23",
2021-12-07 20:04:32 +03:00
"multer": "1.4.4",
"mysql2": "2.3.3",
2022-04-15 07:37:47 +03:00
"nconf": "0.12.0",
2022-03-31 00:57:56 +03:00
"node-jose": "2.1.1",
"oembed-parser": "1.4.9",
2016-04-21 12:44:58 +03:00
"path-match": "1.2.4",
"probe-image-size": "7.2.3",
"rss": "1.2.2",
"sanitize-html": "2.7.0",
2022-04-13 12:46:32 +03:00
"semver": "7.3.7",
"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": "1.8.6",
2022-05-06 15:52:08 +03:00
"sqlite3": "5.0.8"
2015-05-06 02:54:23 +03:00
},
"devDependencies": {
"@lodder/grunt-postcss": "3.1.1",
"@playwright/test": "1.22.1",
"@tryghost/express-test": "0.10.0",
2022-05-17 03:26:57 +03:00
"c8": "7.11.3",
"cli-progress": "3.11.1",
"coffeescript": "2.7.0",
2022-05-17 03:27:19 +03:00
"cssnano": "5.1.8",
2022-05-09 03:38:13 +03:00
"eslint": "8.15.0",
"eslint-plugin-ghost": "2.14.0",
2022-05-10 16:45:55 +03:00
"grunt": "1.5.3",
"grunt-bg-shell": "2.3.3",
"grunt-contrib-clean": "2.0.1",
"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",
2022-03-24 15:06:09 +03:00
"grunt-shell": "4.0.0",
"grunt-subgrunt": "1.3.0",
"grunt-update-submodules": "0.4.1",
"inquirer": "8.2.4",
2022-05-12 17:54:52 +03:00
"jwks-rsa": "2.1.2",
2022-05-02 04:29:26 +03:00
"mocha": "10.0.0",
"mocha-slow-test-reporter": "0.1.2",
"mock-knex": "TryGhost/mock-knex#8ecb8c227bf463c991c3d820d33f59efc3ab9682",
2022-02-04 22:55:19 +03:00
"nock": "13.2.4",
2022-03-21 12:22:10 +03:00
"papaparse": "5.3.2",
2022-05-02 07:32:04 +03:00
"postcss": "8.4.13",
2022-02-07 15:00:37 +03:00
"rewire": "6.0.0",
"should": "13.2.3",
2022-05-09 22:14:13 +03:00
"sinon": "14.0.0",
2022-04-27 05:05:34 +03:00
"supertest": "6.2.3",
"tmp": "0.2.1"
},
"resolutions": {
"@tryghost/logging": "2.1.8",
"moment": "2.24.0",
"moment-timezone": "0.5.23"
2015-05-06 02:54:23 +03:00
}
}