Commit 17cb7171 authored by Bogdan Cochior's avatar Bogdan Cochior

fix: package import

parent d211a9cd
......@@ -16,7 +16,6 @@ RUN [ "rm", "-rf", "/npm-packages-offline-cache"]
WORKDIR ${HOME}/packages/xpub-faraday
ENV NODE_ENV "production"
RUN echo $NODE_ENV
RUN [ "npx", "pubsweet", "build"]
......
......@@ -5,11 +5,11 @@ services:
build:
context: .
dockerfile: ./Dockerfile-development
command: sh -c "cd packages/xpub-faraday && yarn install --frozen-lockfile && ./scripts/wait-for-it.sh postgres:5432 -s -t 40 -- npx pubsweet server"
command: sh -c "./scripts/wait-for-it.sh postgres:5432 -s -t 40 -- npx pubsweet server"
ports:
- ${PORT:-3000}:3000
volumes:
- ./:/home/xpub
- /home/xpub/node_modules
depends_on:
- postgres
environment:
......
......@@ -15,11 +15,6 @@
"peerDependencies": {
"@pubsweet/logger": "^0.0.1"
},
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/pubsweet/pubsweet",
"path": "SendEmail"
},
"jest": {
"verbose": true,
"testRegex": "/tests/.*.test.js$"
......
......@@ -10,6 +10,7 @@
"dependencies": {
"@pubsweet/component-aws-s3": "^1.2.0",
"@pubsweet/component-send-email": "0.2.4",
"@pubsweet/component-email-templating": "0.0.1",
"@pubsweet/styleguide": "3.1.4",
"@pubsweet/ui": "^8.6.0",
"@pubsweet/ui-toolkit": "latest",
......@@ -29,7 +30,7 @@
"pubsweet": "3.0.6",
"pubsweet-client": "^4.0.4",
"pubsweet-component-login": "^1.2.0",
"pubsweet-component-signup": "^1.0.0",
"pubsweet-component-signup": "^1.0.33",
"pubsweet-server": "10.0.1",
"react": "^16.4.2",
"react-dnd": "^2.5.4",
......@@ -81,7 +82,8 @@
"start": "pubsweet start",
"start:services": "docker-compose up postgres",
"server": "pubsweet server",
"start-now": "echo $secret > config/local-development.json && npm run server",
"start-now":
"echo $secret > config/local-development.json && npm run server",
"build": "NODE_ENV=production pubsweet build",
"clean": "rm -rf node_modules",
"debug": "pgrep -f startup/start.js | xargs kill -sigusr1",
......
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