diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json index a07a73aa7f877..5d00519361f20 100644 --- a/packages/gatsby-plugin-gatsby-cloud/package.json +++ b/packages/gatsby-plugin-gatsby-cloud/package.json @@ -23,6 +23,7 @@ "@testing-library/react": "^11.2.7", "@testing-library/user-event": "^13.2.1", "babel-preset-gatsby-package": "^1.12.0-next.3", + "cpy-cli": "^3.1.1", "cross-env": "^7.0.3", "jest": "^26.6.3", "msw": "^0.33.2", @@ -51,7 +52,7 @@ "scripts": { "build": "babel src --out-dir . --ignore \"**/__tests__\" && npm run clean && npm run copy-type-declarations", "clean": "rimraf ./components/index.d.ts", - "copy-type-declarations": "cp src/components/index.d.ts components/index.d.ts", + "copy-type-declarations": "cpy src/components/index.d.ts components/index.d.ts", "prepare": "cross-env NODE_ENV=production npm run build", "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" },