Commit ff4a5d77 authored by Tamlyn Rhodes's avatar Tamlyn Rhodes

fix: add missing lock file and restore empty db directory

parent 59fba344
......@@ -32,7 +32,8 @@ lint:
- cd ${HOME}
- npm run lint
test:
# disable this job to make it clear we're not running any tests
.test:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: test
variables:
......
FROM xpub/xpub:base
# TODO package namespacing no longer necessary
RUN mkdir -p ${HOME}/packages/xpub-collabra
WORKDIR ${HOME}/packages/xpub-collabra
WORKDIR ${HOME}
COPY package.json yarn.lock ./
# We do a development install because react-styleguidist is a dev dependency
......@@ -19,7 +16,6 @@ COPY static static
COPY api api
COPY webpack webpack
COPY config config
COPY logs logs
COPY app app
ENV NODE_ENV "production"
......@@ -28,5 +24,4 @@ RUN [ "npx", "pubsweet", "build"]
EXPOSE 3000
WORKDIR ${HOME}
CMD []
{
"name": "xpub-collabra",
"version": "0.0.1",
"private": true,
"description": "xpub configured for Collabra",
"license": "MIT",
"engines": {
......@@ -29,13 +30,13 @@
"pubsweet-component-ink-frontend": "^1.0.0",
"pubsweet-component-login": "^1.0.1",
"pubsweet-component-signup": "^1.0.0",
"pubsweet-component-xpub-app": "^0.0.2",
"pubsweet-component-xpub-dashboard": "^0.0.2",
"pubsweet-component-xpub-find-reviewers": "^0.0.2",
"pubsweet-component-xpub-manuscript": "^0.0.2",
"pubsweet-component-xpub-review": "^0.0.2",
"pubsweet-component-xpub-app": "^0.0.3",
"pubsweet-component-xpub-dashboard": "^0.0.3",
"pubsweet-component-xpub-find-reviewers": "^0.0.3",
"pubsweet-component-xpub-manuscript": "^0.0.3",
"pubsweet-component-xpub-review": "^0.0.3",
"pubsweet-component-xpub-review-backend": "^0.1.0",
"pubsweet-component-xpub-submit": "^0.0.2",
"pubsweet-component-xpub-submit": "^0.0.3",
"pubsweet-server": "^1.0.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
......@@ -45,9 +46,9 @@
"redux-form": "^7.0.3",
"redux-logger": "^3.0.1",
"winston": "^2.4.0",
"xpub-journal": "^0.0.2",
"xpub-selectors": "^0.0.2",
"xpub-theme": "^0.0.2"
"xpub-journal": "^0.0.3",
"xpub-selectors": "^0.0.3",
"xpub-theme": "^0.0.3"
},
"devDependencies": {
"babel-eslint": "^8.0.2",
......@@ -91,10 +92,9 @@
"webpack-hot-middleware": "^2.20.0"
},
"scripts": {
"clean": "rm -rf node_modules",
"test": "echo YOU HAVE NO TESTS, FOOOL!",
"lint": "npm run lint:js && npm run lint:style",
"lint:js": "eslint ",
"lint:js": "eslint .",
"lint:style": "stylelint app/**/*.scss app/**/*.css",
"setupdb": "pubsweet setupdb ./",
"precommit": "lint-staged",
......
This diff is collapsed.
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