From 9a96e8c704b6f84e00bbe848159a4819844cf09d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 22 Dec 2017 12:49:03 +0100 Subject: Install prettier --- package.json | 2 ++ yarn.lock | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index e702c1d90..94aa03e08 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ ], "scripts": { "testrpc": "testrpc -p 8545 --networkId 50 -m \"${npm_package_config_mnemonic}\"", + "prettier": "prettier --write '**/*.ts'", "lerna:run": "lerna run", "lerna:rebuild": "lerna run clean; lerna run build;", "lerna:publish": "yarn install; lerna run clean; lerna run build; lerna publish --registry=https://registry.npmjs.org/" @@ -18,6 +19,7 @@ "async-child-process": "^1.1.1", "ethereumjs-testrpc": "6.0.3", "lerna": "^2.5.1", + "prettier": "1.9.2", "publish-release": "0xproject/publish-release", "semver-sort": "^0.0.4" } diff --git a/yarn.lock b/yarn.lock index 8b87e1fa4..1d3824de1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6917,6 +6917,10 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" +prettier@1.9.2: + version "1.9.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.9.2.tgz#96bc2132f7a32338e6078aeb29727178c6335827" + pretty-bytes@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-1.0.4.tgz#0a22e8210609ad35542f8c8d5d2159aff0751c84" -- cgit v1.2.3