Skip to content

Commit

Permalink
Adds a build script for mocha only
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivrajRath committed Jul 2, 2018
1 parent ff65ff8 commit dc6f51f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 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",
Expand All @@ -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": [
Expand Down

0 comments on commit dc6f51f

Please sign in to comment.