Browse Source

chore: Add publish script

Michael Bromley 6 years ago
parent
commit
b57de7fe17
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -23,7 +23,8 @@
     "test:core": "jest --config packages/core/jest.config.js",
     "test:e2e": "jest --config packages/core/e2e/config/jest-e2e.json --runInBand",
     "test:admin-ui": "cd admin-ui && yarn test --watch=false --browsers=ChromeHeadlessCI --progress=false",
-    "build": "lerna run build"
+    "build": "lerna run build",
+    "publish:packages": "yarn build && lerna publish --exact -m \"chore: Publish %s release\" --no-git-tag-version"
   },
   "devDependencies": {
     "@types/graphql": "^14.0.5",