Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 4adca69

Browse files
committed
Add formatting scripts
1 parent 86a8a91 commit 4adca69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
"posttest": "eslint .",
5959
"prepack": "oclif-dev manifest && oclif-dev readme",
6060
"test": "nyc mocha --forbid-only \"test/**/*.test.js\"",
61+
"format": "npm run format:prettier -- --write",
62+
"format:prettier": "prettier \"{{src,test}/**/,}*.js\"",
6163
"version": "oclif-dev readme && git add README.md"
6264
}
6365
}

0 commit comments

Comments
 (0)