Skip to content

Commit

Permalink
added lint and format scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed May 18, 2020
1 parent 99adca7 commit 398694e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"build-all": "npm run build-linux-64 && npm run build-linux-x86 && npm run build-windows && npm run build-macos",
"test": "mocha --exit",
"standard": "standard lib/**/**/*.js bin/*.js",
"eslint": "eslint lib/**/**/*.js bin/*.js",
"format": "prettier-standard --format",
"lint": "prettier-standard --format --lint '**/*.js'",
"start": "node bin/logagent.js -s --heroku $PORT",
"precommit": "npm run standard && npm run eslint",
"hook-install": "precommit install",
Expand Down Expand Up @@ -139,7 +140,8 @@
"eslint": "^5.9.0",
"mocha": "^7.0.1",
"release-it": "^12.6.0",
"standard": "^14.3.1"
"standard": "^14.3.1",
"prettier-standard": "^16.3.0"
},
"pkg": {
"scripts": "lib/**/*.js",
Expand Down

0 comments on commit 398694e

Please sign in to comment.