Skip to content

Commit

Permalink
chore(gatsby-source-shopify): remove prepublish script from package j…
Browse files Browse the repository at this point in the history
…son (#31968)

* remove prepublish script from package json

* add cross-env
  • Loading branch information
DanielSLew authored Jun 17, 2021
1 parent 9e58577 commit 3222927
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/gatsby-source-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"watch": "tsc-watch --outDir .",
"build": "tsc --outDir .",
"prepublish": "yarn build && cp ../README.md ."
"prepare": "cross-env NODE_ENV=production npm run build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -35,7 +35,8 @@
"prettier": "^2.2.1",
"prettier-check": "^2.0.0",
"tsc-watch": "^4.2.9",
"typescript": "^4.2.3"
"typescript": "^4.2.3",
"cross-env": "^7.0.3"
},
"peerDependencies": {
"gatsby-plugin-image": "^1.1.0"
Expand Down

0 comments on commit 3222927

Please sign in to comment.