From 8b5fefe58391fb0d1cdb8a5e9f9323bb1233d4f1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 23 Nov 2015 14:33:03 +0000 Subject: [PATCH] Added lint to tests --- package.json | 3 ++- runtests | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 027d9eb..51266c0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "watch-images": "watch 'npm run build-images' static/src/img/", "watch-less": "watch 'npm run build-less' static/src/less/", "watch": "npm run watch-less & npm run watch-images", - "clean": "rm -rf static/build collected-static/ node_modules/ env/" + "clean": "rm -rf static/build collected-static/ node_modules/ env/", + "test": "npm run lint" }, "repository": { "type": "git", diff --git a/runtests b/runtests index 5e6c7dd..a4c0194 100755 --- a/runtests +++ b/runtests @@ -5,3 +5,5 @@ set -e export PATH=env/bin:${PATH} flake8 project --ignore=E128,E501 --exclude="migrations,settings,*/wsgi.py" + +npm test \ No newline at end of file