mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added yarn setup
to root scripts
- 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
This commit is contained in:
parent
184149492d
commit
57d47a79f9
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
"start": "node index",
|
||||
"dev": "grunt dev",
|
||||
"dev:debug": "DEBUG=ghost:* grunt dev",
|
||||
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || (exit 0)",
|
||||
"setup": "knex-migrator init && grunt symlink && grunt init || (exit 0)",
|
||||
"main": "grunt shell:main && grunt subgrunt:init",
|
||||
"build": "grunt build",
|
||||
"test": "yarn test:unit",
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"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"
|
||||
|
|
Loading…
Add table
Reference in a new issue