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