Ghost/package.json
Daniel Lockyer b12b1c9290
Fixed yarn fix command
- we no longer need to have subcommands because the Admin dependencies
  are in the top-level `node_modules` folder
2022-08-03 16:06:13 +02:00

93 lines
2.5 KiB
JSON

{
"name": "ghost-monorepo",
"version": "0.0.0-private",
"description": "The professional publishing platform",
"private": true,
"repository": "https://github.com/TryGhost/Ghost",
"author": "Ghost Foundation",
"license": "MIT",
"workspaces": [
"ghost/*"
],
"monorepo": {
"public": false,
"internalPackages": true,
"repo": "https://github.com/TryGhost/Ghost",
"scope": "@tryghost"
},
"eslintIgnore": [
"**/node_modules/**"
],
"scripts": {
"dev": "yarn workspace ghost run dev",
"fix": "yarn cache clean && rm -rf node_modules && yarn",
"knex-migrator": "yarn workspace ghost run knex-migrator",
"lint": "yarn workspaces run lint",
"setup": "yarn && yarn workspace ghost run setup",
"start": "yarn workspace ghost run start",
"test": "yarn workspaces run test",
"main": "yarn main:monorepo && yarn main:submodules",
"main:monorepo": "git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn && yarn workspace ghost run grunt subgrunt:init",
"main:submodules": "git submodule sync && git submodule update && git submodule foreach \"git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn\""
},
"resolutions": {
"@tryghost/logging": "2.2.3",
"moment": "2.24.0",
"moment-timezone": "0.5.23"
},
"renovate": {
"extends": [
"@tryghost:quietJS",
"@tryghost:disableTryGhostAutomerge",
"@tryghost:groupTestLint",
"@tryghost:groupCSS",
"@tryghost:groupBuildTools"
],
"ignoreDeps": [
"got",
"intl-messageformat",
"moment",
"moment-timezone",
"oembed-parser",
"simple-dom",
"ember-drag-drop",
"normalize.css",
"validator",
"codemirror",
"faker"
],
"ignorePaths": [
"test",
"ghost/admin/lib/koenig-editor/package.json"
],
"packageRules": [
{
"packagePatterns": [
"metascraper"
],
"groupName": "metascraper"
},
{
"groupName": "ember-basic-dropdown addons",
"packagePatterns": ["^ember-basic", "^ember-power"]
},
{
"groupName": "ember core",
"packageNames": ["ember-source", "ember-cli", "ember-data"]
},
{
"groupName": "disable css",
"packagePatterns": [
"^postcss",
"^css"
],
"packageNames": [
"autoprefixer",
"ember-cli-postcss"
],
"enabled": false
}
]
}
}