Browse Source

Nuke modules and frozen lockfile before build

main
Alex Krolick 7 years ago
committed by GitHub
parent
commit
47e398af00
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json

2
package.json

@ -78,7 +78,7 @@
"format:source": "prettier --config .prettierrc --write \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"",
"format:examples": "prettier --config .prettierrc.examples --write \"examples/**/*.js\"",
"lint": "eslint .",
"netlify": "yarn install --check-files && yarn build",
"netlify": "rimraf node_modules && yarn install --frozen-lockfile --check-files && yarn build",
"nit:source": "prettier --config .prettierrc --list-different \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"",
"nit:examples": "prettier --config .prettierrc.examples --list-different \"examples/**/*.js\"",
"prettier": "yarn format:source && yarn format:examples",

Loading…
Cancel
Save