diff --git a/ghost/core/package.json b/ghost/core/package.json index 540b0918de..6f9d09296a 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -22,7 +22,7 @@ "scripts": { "start": "node index", "setup": "knex-migrator init && grunt symlink || (exit 0)", - "build": "yarn workspace ghost-admin run build", + "build": "npm pack --pack-destination ../..", "test": "yarn test:unit", "test:single": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js --timeout=60000", "test:all": "yarn test:unit && yarn test:integration && yarn test:e2e && yarn lint", diff --git a/package.json b/package.json index 327503ccf7..748e8dd8fa 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "**/node_modules/**" ], "scripts": { + "build": "yarn workspace ghost run build", "dev:debug": "DEBUG_COLORS=true DEBUG=@tryghost*,ghost:* yarn dev", "dev:admin": "node .github/dev.js --admin", "dev:ghost": "node .github/dev.js --ghost",