add test task as npm script

This commit is contained in:
Alexander Zobnin
2017-10-30 13:29:34 +03:00
parent d56f306e7e
commit 8266f61d27
2 changed files with 11 additions and 2 deletions

View File

@@ -4,8 +4,9 @@
"version": "3.6.0",
"description": "Zabbix plugin for Grafana",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "./node_modules/.bin/grunt"
"test": "./node_modules/.bin/grunt test",
"build": "./node_modules/.bin/grunt",
"watch": "./node_modules/.bin/grunt watch"
},
"repository": {
"type": "git",