From 2a92b8bbe687f8199785dc18c5b4e99b22f77644 Mon Sep 17 00:00:00 2001 From: Emile Nijssen Date: Sun, 23 May 2021 17:07:37 +0200 Subject: [PATCH] fix --- package.json | 3 +-- src/package.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 452856e..bb62b5d 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,7 @@ "version": "1.0.0", "scripts": { "build": "docker build --tag wg-easy .", - "start": "docker run --env WG_HOST=0.0.0.0 --name wg-easy --cap-add=NET_ADMIN --cap-add=SYS_MODULE --sysctl=\"net.ipv4.conf.all.src_valid_mark=1\" --mount type=bind,source=\"$(pwd)\"/config,target=/etc/wireguard -p 51820:51820/udp -p 51821:51821/tcp wg-easy", - "lint": "eslint src" + "start": "docker run --env WG_HOST=0.0.0.0 --name wg-easy --cap-add=NET_ADMIN --cap-add=SYS_MODULE --sysctl=\"net.ipv4.conf.all.src_valid_mark=1\" --mount type=bind,source=\"$(pwd)\"/config,target=/etc/wireguard -p 51820:51820/udp -p 51821:51821/tcp wg-easy" }, "docker": { "production": { diff --git a/src/package.json b/src/package.json index 611c879..f061e5b 100644 --- a/src/package.json +++ b/src/package.json @@ -5,7 +5,8 @@ "main": "server.js", "scripts": { "serve": "DEBUG=Server,WireGuard WG_HOST=0.0.0.0 WG_PATH=../config/ nodemon server.js", - "serve-with-password": "PASSWORD=wg npm run serve" + "serve-with-password": "PASSWORD=wg npm run serve", + "lint": "eslint ." }, "author": "Emile Nijssen", "license": "GPL",