From dc6f51fb6a632e9f06b106c54fa392a57f4827e8 Mon Sep 17 00:00:00 2001 From: Shivraj Rath Date: Sun, 1 Jul 2018 20:53:14 -0700 Subject: [PATCH] Adds a build script for mocha only --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f7a2910..7802549 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsonabc", - "version": "2.3.0", + "version": "2.3.1", "license": "MIT", "description": "Sorts JSON object alphabetically. It supports nested objects, arrays and collections. Works offline and beautifies JSON object too.", "browser": "dist/jsonabc.js", @@ -20,11 +20,15 @@ "semistandard": "^12.0.1" }, "semistandard": { - "globals": ["describe", "it", "beforeEach"] + "globals": ["describe", "it", "beforeEach"], + "ignore": [ + "**/dist/" + ] }, "scripts": { "build": "browserify --no-bf -r ./index.js:jsonabc -o dist/jsonabc.js", "test": "mocha && semistandard", + "mocha": "mocha", "fix": "semistandard --fix" }, "keywords": [