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:
parent
5f2967cf27
commit
184149492d
2 changed files with 3 additions and 3 deletions
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue