aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-13 12:53:21 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-13 12:53:21 +0100
commitafff6a5a1b25729f6be3f3b565d61ff3e56d9c36 (patch)
treebbcdb7c0ae54a8d3f14f4df77bf98eda2bf37ca8 /Pipfile
parentUpdate GitLab URL (diff)
Add JavaScript linting
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Pipfile b/Pipfile
index b356df03..eab98f08 100644
--- a/Pipfile
+++ b/Pipfile
@@ -44,8 +44,10 @@ build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ."
buildbase = "docker build -t pythondiscord/site-base:latest -f docker/Dockerfile.base ."
buildscss = "python scss.py scss/pysite:scss/pysite/style.scss:static/css/style.css scss/uikit:scss/uikit/uikit_blurple.scss:static/css/uikit_blurple.css"
clean = "rm -rf __pycache__ htmlcov .coverage .pytest_cache"
+fixjs = "eslint static/js --fix"
start = "gunicorn -w 12 -b 0.0.0.0:10012 -c gunicorn_config.py --log-level info -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker app:app"
lint = "python -m flake8"
+lintjs = "eslint static/js"
lintscss = "scss-lint scss/pysite"
push = "docker push pythondiscord/site:latest"
pushbase = "docker push pythondiscord/site-base:latest"