0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Lifted "fix repo" scripts up to root package.json

- these scripts are useful for just trying to fix your repo when
  node_modules is playing up
- as we now have a monorepo, they should be lifted up to the root and
  not hidden in the ghost package
This commit is contained in:
Daniel Lockyer 2022-07-24 12:40:40 +02:00
parent 5f2967cf27
commit 184149492d
No known key found for this signature in database
GPG key ID: D21186F0B47295AD
2 changed files with 3 additions and 3 deletions

View file

@ -47,9 +47,6 @@
"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",
"prepack": "grunt release"
},
"engines": {

View file

@ -14,6 +14,9 @@
],
"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",
"start": "yarn workspace ghost run start",
"test": "yarn workspaces run test",