57d47a79f9
- we had this working in the Ghost repo before switching to a monorepo - this commit adds a `setup` script to the root package.json so we can maintain the functionality
60 lines
1.5 KiB
JSON
60 lines
1.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/*"
|
|
],
|
|
"eslintIgnore": [
|
|
"**/node_modules/**"
|
|
],
|
|
"scripts": {
|
|
"dev": "yarn workspace ghost run dev",
|
|
"fix:admin": "yarn cache clean && cd ghost/core/core/admin && rm -rf node_modules tmp dist && yarn && cd ../../../..",
|
|
"fix:backend": "yarn cache clean && rm -rf node_modules && yarn",
|
|
"fix": "yarn fix:admin && yarn fix:backend",
|
|
"lint": "yarn workspaces run lint",
|
|
"setup": "yarn && yarn workspace ghost run setup",
|
|
"start": "yarn workspace ghost run start",
|
|
"test": "yarn workspaces run test",
|
|
"main": "git pull && yarn && yarn workspace ghost run main"
|
|
},
|
|
"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"
|
|
],
|
|
"ignorePaths": [
|
|
"test"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"packagePatterns": [
|
|
"metascraper"
|
|
],
|
|
"groupName": "metascraper"
|
|
}
|
|
]
|
|
}
|
|
}
|