diff --git a/.envrc b/.envrc new file mode 100644 index 0000000000000000000000000000000000000000..41c57fe011980aa34c76414caad1afcf426480c9 --- /dev/null +++ b/.envrc @@ -0,0 +1,3 @@ +if declare -Ff use_nvm >/dev/null; then + use nvm +fi diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000000000000000000000000000000000..c8357abfecf9417dacaef494eb7406fe0f199665 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +7.9 \ No newline at end of file diff --git a/package.json b/package.json index da69c319e924cdbd097a543ebc851d253f36ba33..4675067b984772dafc646f3471bea2874c788a33 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "url": "https://gitlab.coko.foundation/xpub/xpub" }, "dependencies": { + "pubsweet": "1.0.0-alpha.4", "font-awesome": "^4.7.0", "joi": "^10.4.1", "lodash": "^4.17.4", @@ -20,7 +21,7 @@ "pubsweet-component-password-reset-backend": "^0.1.0", "pubsweet-component-password-reset-frontend": "^0.1.0", "pubsweet-component-signup": "^0.2.0", - "pubsweet-component-wax": "0.0.2", + "pubsweet-component-wax": "0.1.0", "pubsweet-component-xpub-dashboard": "*", "pubsweet-component-xpub-submission": "*", "pubsweet-fira": "^0.0.3", @@ -73,5 +74,9 @@ "webpack": "^2.6.1", "webpack-dev-middleware": "^1.10.2", "webpack-hot-middleware": "^2.18.1" + }, + "scripts": { + "setupdb": "pubsweet setupdb --dev ./", + "start": "pubsweet run --dev" } }