Skip to content

Commit

Permalink
Updated dependencies and disabled lint for web
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyBoo committed Aug 19, 2019
1 parent 3d01250 commit 8e6a6d1
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 346 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ FROM node:10-alpine as build
WORKDIR /src

COPY ./package.json /src
RUN yarn
RUN yarn --frozen-lockfile

COPY . /src
RUN yarn lint
RUN yarn lint-web
#RUN yarn lint-web
RUN yarn build

# This strips out the dev dependencies.
RUN yarn install --production
RUN yarn install --production --frozen-lockfile

FROM node:10-alpine

Expand Down
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/simplyboo6/Vimtur"
},
"dependencies": {
"ajv": "^6.9.2",
"ajv": "^6.10.2",
"args": "5.0.1",
"better-ajv-errors": "^0.6.1",
"body-parser": "^1.18.3",
Expand All @@ -19,10 +19,10 @@
"gm": "^1.23.0",
"http-auth": "~3.2.3",
"inflight": "^1.0.6",
"mongodb": "^3.1.10",
"mongodb": "^3.3.0",
"once": "^1.4.0",
"path-is-inside": "^1.0.2",
"rimraf": "^2.6.2",
"rimraf": "^3.0.0",
"socket.io": "~2.2.0",
"strip-json-comments": "^3.0.1",
"walk": "^2.3.9",
Expand All @@ -45,28 +45,27 @@
"author": "SimplyBoo",
"license": "MIT",
"devDependencies": {
"@luvies/config": "^1.5.0",
"@luvies/config": "^1.6.3",
"@types/args": "^3.0.0",
"@types/compression": "^0.0.36",
"@types/express": "^4.17.0",
"@types/compression": "^1.0.1",
"@types/express": "^4.17.1",
"@types/fluent-ffmpeg": "^2.1.10",
"@types/gm": "^1.18.3",
"@types/mongodb": "^3.1.28",
"@types/mongodb": "^3.2.3",
"@types/path-is-inside": "^1.0.0",
"@types/rimraf": "^2.0.2",
"@types/socket.io": "2.1.2",
"@types/strip-json-comments": "^0.0.30",
"@types/walk": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"eslint": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.2.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-sort-imports-es6-autofix": "^0.4.0",
"prettier": "^1.18.2",
"ts-node": "^8.3.0",
"tslib": "^1.10.0",
"typescript": "^3.5.3",
"typescript-json-schema": "^0.38.3"
"typescript-json-schema": "^0.39.0"
}
}
3 changes: 0 additions & 3 deletions web/eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"extends": "../.eslintrc.json",
"globals": {
"$": true,
"bootbox": true,
Expand Down Expand Up @@ -37,8 +36,6 @@
"no-constant-condition": "off",
"prefer-arrow-callback": 2,
"max-classes-per-file": ["warn", 1],
"@typescript-eslint/no-floating-promises": ["warn"],
"@typescript-eslint/prefer-for-of": ["warn"],
"require-atomic-updates": "warn"
}
}
Loading

0 comments on commit 8e6a6d1

Please sign in to comment.