2014-02-09 19:29:23 +04:00
|
|
|
{
|
2022-07-20 17:10:38 +03:00
|
|
|
"name": "ghost-monorepo",
|
|
|
|
"version": "0.0.0-private",
|
2017-07-27 11:26:31 +03:00
|
|
|
"description": "The professional publishing platform",
|
2022-07-20 17:10:38 +03:00
|
|
|
"private": true,
|
|
|
|
"repository": "https://github.com/TryGhost/Ghost",
|
2015-05-06 02:54:23 +03:00
|
|
|
"author": "Ghost Foundation",
|
2015-05-26 07:00:32 +03:00
|
|
|
"license": "MIT",
|
2023-11-23 15:59:48 +03:00
|
|
|
"workspaces": [
|
|
|
|
"ghost/*",
|
|
|
|
"apps/*"
|
|
|
|
],
|
2022-08-02 13:30:15 +03:00
|
|
|
"monorepo": {
|
|
|
|
"public": false,
|
2022-08-02 16:30:27 +03:00
|
|
|
"internalPackages": true,
|
2022-08-02 13:30:15 +03:00
|
|
|
"repo": "https://github.com/TryGhost/Ghost",
|
|
|
|
"scope": "@tryghost"
|
|
|
|
},
|
2022-07-20 17:10:38 +03:00
|
|
|
"eslintIgnore": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
],
|
2015-05-06 02:54:23 +03:00
|
|
|
"scripts": {
|
2023-07-13 12:14:08 +03:00
|
|
|
"archive": "nx run ghost:archive",
|
2023-07-12 14:42:39 +03:00
|
|
|
"build": "nx run-many -t build",
|
2023-08-09 18:08:44 +03:00
|
|
|
"build:clean": "nx reset && rimraf -g 'ghost/*/build' && rimraf -g 'ghost/*/tsconfig.tsbuildinfo'",
|
2022-08-18 16:50:14 +03:00
|
|
|
"dev:debug": "DEBUG_COLORS=true DEBUG=@tryghost*,ghost:* yarn dev",
|
2023-07-05 09:16:46 +03:00
|
|
|
"dev:admin": "node .github/scripts/dev.js --admin",
|
|
|
|
"dev:ghost": "node .github/scripts/dev.js --ghost",
|
|
|
|
"dev": "node .github/scripts/dev.js",
|
2023-12-13 18:13:22 +03:00
|
|
|
"fix": "yarn cache clean && rimraf -g '**/node_modules' && yarn",
|
2022-07-27 15:21:31 +03:00
|
|
|
"knex-migrator": "yarn workspace ghost run knex-migrator",
|
2023-12-06 22:11:52 +03:00
|
|
|
"setup": "yarn && git submodule update --init && NODE_ENV=development node .github/scripts/setup.js",
|
2024-01-16 13:20:33 +03:00
|
|
|
"reset:data": "cd ghost/core && node index.js generate-data --clear-database --quantities members:100000,posts:500 --seed 123",
|
2024-03-25 16:44:28 +03:00
|
|
|
"reset:data:empty": "cd ghost/core && node index.js generate-data --clear-database --quantities members:0,posts:0 --seed 123",
|
2024-01-16 13:20:33 +03:00
|
|
|
"reset:data:xxl": "cd ghost/core && node index.js generate-data --clear-database --quantities members:2000000,posts:0,emails:0,members_stripe_customers:0,members_login_events:0,members_status_events:0 --seed 123",
|
2023-12-06 22:11:52 +03:00
|
|
|
"docker:reset": "docker-compose -f .github/scripts/docker-compose.yml down -v && docker-compose -f .github/scripts/docker-compose.yml up -d --wait",
|
2023-07-12 14:42:39 +03:00
|
|
|
"lint": "nx run-many -t lint",
|
|
|
|
"test": "nx run-many -t test",
|
|
|
|
"test:unit": "nx run-many -t test:unit",
|
2022-07-25 19:21:04 +03:00
|
|
|
"main": "yarn main:monorepo && yarn main:submodules",
|
2022-08-03 18:14:37 +03:00
|
|
|
"main:monorepo": "git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn",
|
2022-08-08 14:28:31 +03:00
|
|
|
"main:submodules": "git submodule sync && git submodule update && git submodule foreach \"git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn\"",
|
2023-07-13 12:14:08 +03:00
|
|
|
"prepare": "husky install .github/hooks"
|
2019-07-30 16:06:26 +03:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2024-07-30 17:14:06 +03:00
|
|
|
"@tryghost/errors": "1.3.5",
|
|
|
|
"@tryghost/logging": "2.4.18",
|
2024-05-09 12:41:09 +03:00
|
|
|
"jackspeak": "2.1.1",
|
2020-07-28 19:55:23 +03:00
|
|
|
"moment": "2.24.0",
|
2024-07-10 00:31:36 +03:00
|
|
|
"moment-timezone": "0.5.45"
|
2022-07-20 17:10:38 +03:00
|
|
|
},
|
|
|
|
"renovate": {
|
|
|
|
"extends": [
|
2023-08-31 17:26:16 +03:00
|
|
|
"github>tryghost/renovate-config:quiet"
|
2022-07-20 17:10:38 +03:00
|
|
|
],
|
2023-04-05 11:22:55 +03:00
|
|
|
"rebaseWhen": "never",
|
2022-07-20 17:10:38 +03:00
|
|
|
"ignoreDeps": [
|
|
|
|
"got",
|
|
|
|
"intl-messageformat",
|
|
|
|
"moment",
|
|
|
|
"moment-timezone",
|
2022-08-03 17:02:15 +03:00
|
|
|
"simple-dom",
|
|
|
|
"ember-drag-drop",
|
|
|
|
"normalize.css",
|
|
|
|
"validator",
|
|
|
|
"codemirror",
|
2022-12-13 17:53:27 +03:00
|
|
|
"faker",
|
2023-11-09 02:19:25 +03:00
|
|
|
"ember-cli-code-coverage",
|
|
|
|
"ember-cli-terser"
|
2022-07-20 17:10:38 +03:00
|
|
|
],
|
|
|
|
"ignorePaths": [
|
2022-08-03 17:02:15 +03:00
|
|
|
"test",
|
|
|
|
"ghost/admin/lib/koenig-editor/package.json"
|
2022-07-20 17:10:38 +03:00
|
|
|
],
|
|
|
|
"packageRules": [
|
2022-08-03 17:02:15 +03:00
|
|
|
{
|
|
|
|
"groupName": "ember-basic-dropdown addons",
|
2022-08-09 16:48:33 +03:00
|
|
|
"packagePatterns": [
|
|
|
|
"^ember-basic",
|
|
|
|
"^ember-power"
|
|
|
|
]
|
2022-08-03 17:02:15 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"groupName": "ember core",
|
2022-08-09 16:48:33 +03:00
|
|
|
"packageNames": [
|
|
|
|
"ember-source",
|
|
|
|
"ember-cli",
|
|
|
|
"ember-data"
|
|
|
|
]
|
2022-08-03 17:02:15 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"groupName": "disable css",
|
2022-08-09 16:48:33 +03:00
|
|
|
"matchFiles": [
|
|
|
|
"ghost/admin/package.json"
|
|
|
|
],
|
2022-08-03 17:02:15 +03:00
|
|
|
"packagePatterns": [
|
2022-08-09 16:48:33 +03:00
|
|
|
"^postcss",
|
|
|
|
"^css"
|
2022-08-03 17:02:15 +03:00
|
|
|
],
|
|
|
|
"packageNames": [
|
2022-08-09 16:48:33 +03:00
|
|
|
"autoprefixer",
|
|
|
|
"ember-cli-postcss"
|
2022-08-03 17:02:15 +03:00
|
|
|
],
|
|
|
|
"enabled": false
|
2022-07-20 17:10:38 +03:00
|
|
|
}
|
|
|
|
]
|
2022-07-25 20:28:41 +03:00
|
|
|
},
|
2022-08-08 14:28:31 +03:00
|
|
|
"lint-staged": {
|
|
|
|
"*.js": "eslint"
|
|
|
|
},
|
2022-07-25 20:28:41 +03:00
|
|
|
"devDependencies": {
|
2023-11-15 11:55:10 +03:00
|
|
|
"chalk": "4.1.2",
|
2023-10-19 04:49:56 +03:00
|
|
|
"concurrently": "8.2.2",
|
2023-07-24 15:25:05 +03:00
|
|
|
"eslint": "8.44.0",
|
2023-11-20 14:00:51 +03:00
|
|
|
"eslint-plugin-ghost": "3.4.0",
|
2023-07-27 10:49:51 +03:00
|
|
|
"eslint-plugin-react": "7.33.0",
|
2023-01-03 14:14:45 +03:00
|
|
|
"husky": "8.0.3",
|
2024-08-13 09:06:18 +03:00
|
|
|
"lint-staged": "15.2.9",
|
2023-10-13 19:51:41 +03:00
|
|
|
"nx": "16.8.1",
|
2024-08-01 01:03:58 +03:00
|
|
|
"rimraf": "5.0.10",
|
2023-12-08 17:18:56 +03:00
|
|
|
"ts-node": "10.9.2",
|
2024-04-15 10:50:07 +03:00
|
|
|
"typescript": "5.4.5",
|
2024-01-05 16:43:35 +03:00
|
|
|
"inquirer": "8.2.6"
|
2015-05-06 02:54:23 +03:00
|
|
|
}
|
2014-02-09 19:29:23 +04:00
|
|
|
}
|