From d4c2a15e354e8d0b16d9e0e5a020f19f2cc35a0b Mon Sep 17 00:00:00 2001 From: tpluscode Date: Mon, 15 Jul 2019 16:01:39 +0200 Subject: [PATCH] build: add a deployment npm script --- .editorconfig | 4 ++-- package.json | 3 ++- readme.md | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index be305e0..3467bf8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,10 +1,10 @@ root = true -trim_trailing_whitespace = true [*] +trim_trailing_whitespace = true insert_final_newline = true indent_style = space indent_size = 4 -[*.{yaml,yml}] +[*.{yaml,yml,json}] indent_size = 2 diff --git a/package.json b/package.json index 5a092d3..ade124d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "scripts": { "release": "standard-version", "docs:start": "vuepress dev docs", - "docs:build": "vuepress build docs" + "docs:build": "vuepress build docs", + "jdeploy": "mvn package; jdeploy publish" }, "publishConfig": { "access": "public" diff --git a/readme.md b/readme.md index a984fbe..834757a 100644 --- a/readme.md +++ b/readme.md @@ -102,7 +102,6 @@ hypertest-compiler api-examples ``` npm i -g jdeploy -mvn install npm run release -jdeploy publish +git push --follow-tags origin master && npm run jdeploy ```