From d6e38ed6f97661f5e0c899e6f64f1481966086c5 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Tue, 31 Oct 2017 11:16:48 +0300 Subject: [PATCH] ignore dist/test --- .gitignore | 4 ++-- Gruntfile.js | 9 +-------- package.json | 3 +-- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index a3019ca..dbb0ecd 100644 --- a/.gitignore +++ b/.gitignore @@ -15,8 +15,8 @@ docs/site/ # Tests -# dist/test/ -# dist/test-setup/ +dist/test/ +dist/test-setup/ vendor/npm src/vendor/npm diff --git a/Gruntfile.js b/Gruntfile.js index 63fdeda..0db565f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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', diff --git a/package.json b/package.json index 50240df..4bc4c42 100644 --- a/package.json +++ b/package.json @@ -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",