diff options
author | Filip Spiridonov <filip.spiridonov@gmail.com> | 2018-04-17 20:18:29 -0700 |
---|---|---|
committer | James E. King, III <jking@apache.org> | 2018-04-17 23:18:29 -0400 |
commit | b255790b8e99a671ec59bf819019f3344ae37237 (patch) | |
tree | d709c4d2cf3d52198adde528177fd561a054d68e /package.json | |
parent | 4a00fc658a1dc90be33a223a2c7ee336679e8745 (diff) | |
download | thrift-b255790b8e99a671ec59bf819019f3344ae37237.tar.gz |
THRIFT-4551: Add Prettier for consistent JS code formatting (#1536)
Client: js
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index b03fc5758..47bce6782 100644 --- a/package.json +++ b/package.json @@ -46,11 +46,13 @@ "istanbul": "^0.4.5", "jsdoc": "^3.5.5", "phantomjs-prebuilt": "^2.1.16", + "prettier": "1.11.1", "tape": "^4.9.0", "utf-8-validate": "^4.0.0" }, "scripts": { "cover": "lib/nodejs/test/testAll.sh COVER", - "test": "lib/nodejs/test/testAll.sh" + "test": "lib/nodejs/test/testAll.sh", + "prettier": "prettier --write '**/*.js'" } } |