Skip to content

Commit

Permalink
build: add a deployment npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jul 15, 2019
1 parent 9f31ee1 commit d4c2a15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit d4c2a15

Please sign in to comment.