diff --git a/package.json b/package.json index 1fab5384f8..b6e4cf59a1 100755 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "postbuild": "rimraf \"./packages/*/dist/{,**/}__*__\"", "prepare": "node scripts/monorepo-introduction.js", "prettier": "prettier --loglevel warn --write '@(packages|scripts)/**/*.@(css|graphql|js)' '*.js'", - "prettier:validate": "prettier-check '@(packages|scripts)/**/*.@(css|graphql|js)' '*.js'", "prettier:check": "prettier --list-different '@(packages|scripts)/**/*.@(css|graphql|js)' '*.js'", "stage:venia": "yarn venia run start", "stats:venia": "yarn venia run build:analyze && yarn venia run stats", @@ -72,7 +71,6 @@ "lerna": "~3.13.0", "lodash.debounce": "~4.0.8", "prettier": "~1.16.4", - "prettier-check": "~2.0.0", "rimraf": "~2.6.3" }, "optionalDependencies": { @@ -89,10 +87,11 @@ }, "husky": { "hooks": { - "pre-push": "yarn run prettier:validate && yarn run lint" + "pre-push": "yarn run prettier:check && yarn run lint" } }, - "bundlesize": [{ + "bundlesize": [ + { "path": "./packages/venia-concept/dist/{client,vendors,sw}?(.)*.js", "maxSize": "250 kB" }, diff --git a/yarn.lock b/yarn.lock index d4db522f8c..550e68edba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7132,19 +7132,6 @@ exec-sh@^0.3.2: resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b" integrity sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg== -execa@^0.6.0: - version "0.6.3" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.6.3.tgz#57b69a594f081759c69e5370f0d17b9cb11658fe" - integrity sha1-V7aaWU8IF1nGnlNw8NF7nLEWWP4= - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -12794,13 +12781,6 @@ prepend-http@^1.0.1: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= -prettier-check@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/prettier-check/-/prettier-check-2.0.0.tgz#edd086ee12d270579233ccb136a16e6afcfba1ae" - integrity sha512-HZG53XQTJ9Cyi5hi1VFVVFxdlhITJybpZAch3ib9KqI05VUxV+F5Hip0GhSWRItrlDzVyqjSoDQ9KqIn7AHYyw== - dependencies: - execa "^0.6.0" - prettier@~1.16.4: version "1.16.4" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717"