Merge pull request #61 from abstractj/minor-fix-nodejs-dep

Some minor fixes for Node.js guide
This commit is contained in:
Jen Malloy 2016-12-02 14:20:48 -05:00 committed by GitHub
commit 77ef1da5c9

View file

@ -42,17 +42,23 @@ Use `npm init` command to create a `package.json` for your application. Now add
{% if book.community %} {% if book.community %}
[source,json,subs="attributes"]
----
dependencies": { dependencies": {
"keycloak-connect": "{{book.project.versionMvn}}" "keycloak-connect": "{{book.project.versionMvn}}"
} }
----
{% endif %} {% endif %}
{% if book.product %} {% if book.product %}
[source,json,subs="attributes"]
----
dependencies": { dependencies": {
"keycloak-connect": "file://{{book.project.name}}.tgz" "keycloak-connect": "file:rh-sso-{{book.project.version}}-nodejs-adapter.tgz"
} }
----
{% endif %} {% endif %}