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