From 425a1ecd3e821628b692314c7b15d7064e649c54 Mon Sep 17 00:00:00 2001 From: Pratik Bhattacharya Date: Mon, 19 Oct 2020 03:22:39 +0530 Subject: [PATCH] Added version and script for beta release --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 281cf84..f548b2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redux-micro-frontend", - "version": "0.0.0", + "version": "1.0.0-beta-0.0", "license": "MIT", "description": "This is a library for using Redux to managing state for self-contained apps in a Micro-Frontend architecture. Each self-contained isolated app can have its own isolated and decoupled Redux store. The componentized stores interact with a global store for enabling cross-application communication.", "author": { @@ -21,11 +21,12 @@ "scripts": { "build": "tsc", "test": "karma start karma.conf.js", - "release:pre": "npm run build && npm version prerelease && npm run copyfiles:publish", + "release:pre": "npm run build && npm version prerelease && npm run copyfiles:publish-beta", "release:patch": "npm run build && npm version patch && npm run copyfiles:publish", "release:minor": "npm run build && npm version minor && npm run copyfiles:publish", "release:major": "npm run build && npm version major && npm run copyfiles:publish", "copyfiles:publish": "npm run copy:packagejson && npm run copy:npmrc && cd lib && npm publish", + "copyfiles:publish-beta": "npm run copy:packagejson && npm run copy:npmrc && cd lib && npm publish --tag beta", "copy:packagejson": "cpr package.json lib/package.json -o", "copy:npmrc": "cpr .npmrc lib/.npmrc -o", "clean": "rimraf node_modules",