Skip to content

Commit

Permalink
Add format npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
chardos committed Jun 15, 2020
1 parent a7bec25 commit 20e9399
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"build": "rimraf dist && babel src --ignore \"**/__tests__/**/*\" --out-dir dist && copyfiles -u 1 \"src/**/*.{vm,py,rb}\" dist",
"lint": "eslint .",
"format": "eslint . --fix",
"list-contributors": "echo 'clone https://github.com/mgechev/github-contributors-list.git first, then run npm install' && cd ../github-contributors-list && node bin/githubcontrib --owner dherault --repo serverless-offline --sortBy contributions --showlogin true --sortOrder desc > contributors.md",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run build",
Expand Down

0 comments on commit 20e9399

Please sign in to comment.