Commit 0f573263 authored by Tasso Evangelista's avatar Tasso Evangelista

Add gh-release

parent 8475e985
......@@ -26,3 +26,7 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}
- run: yarn deploy-storybook --ci
- run: yarn build
- run: yarn gh-release -y
# @rocket.chat/livechat Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.0.1-1 - 2019-03-12
* Initial release
......@@ -2,6 +2,10 @@
"name": "@rocket.chat/livechat",
"version": "0.0.1-1",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/RocketChat/Rocket.Chat.Livechat"
},
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build:app": "GENERATE_SOURCEMAP=false preact build --no-prerender --optimize-minimize",
......@@ -16,7 +20,8 @@
"storybook": "start-storybook -p 9001 -c .storybook",
"i18n": "i18nline synch && node_modules/.bin/eslint --fix src/i18n/index.js",
"deploy-storybook": "storybook-to-ghpages",
"bundle-analyzer": "webpack-bundle-analyzer build/stats.json"
"bundle-analyzer": "webpack-bundle-analyzer build/stats.json",
"release": "gh-release -c master --assets build.tar.gz"
},
"eslintIgnore": [
"build/*"
......@@ -37,6 +42,7 @@
"desvg-loader": "^0.1.0",
"eslint": "^5.12.1",
"eslint-config-synacor": "^3.0.3",
"gh-release": "^3.5.0",
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
......@@ -110,7 +116,7 @@
},
"husky": {
"hooks": {
"pre-commit": "run-s i18n build && git add -A src/i18n build.tar.gz"
"pre-commit": "run-s i18n && git add -A src/i18n"
}
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment