ignore dist/test

This commit is contained in:
Alexander Zobnin
2017-10-31 11:16:48 +03:00
parent 9b552a1803
commit d6e38ed6f9
3 changed files with 4 additions and 12 deletions

4
.gitignore vendored
View File

@@ -15,8 +15,8 @@
docs/site/
# Tests
# dist/test/
# dist/test-setup/
dist/test/
dist/test-setup/
vendor/npm
src/vendor/npm

View File

@@ -175,18 +175,11 @@ module.exports = function(grunt) {
'copy:vendor_to_dist',
'copy:src_to_dist',
'copy:pluginDef',
'babel',
'babel:dist',
'jshint',
'jscs'
]);
grunt.registerTask('buildTest', [
'clean:test',
'clean:tmp',
'babel:distTestNoSystemJs',
'babel:distTestsSpecsNoSystemJs'
]);
grunt.registerTask('bench', [
'clean:test',
'clean:tmp',

View File

@@ -4,8 +4,7 @@
"version": "3.6.0",
"description": "Zabbix plugin for Grafana",
"scripts": {
"test": "./node_modules/.bin/grunt buildTest && jest",
"jest": "jest",
"test": "jest",
"build": "./node_modules/.bin/grunt && jest",
"watch": "./node_modules/.bin/grunt watch",
"codecov": "./node_modules/.bin/grunt && jest --coverage && codecov",