Skip to content

Commit

Permalink
Fix: update package.json scripts for npm users (carbon-design-system#…
Browse files Browse the repository at this point in the history
…1103)

* Fix: update package.json scripts for npm users

The script for `dev:clean` is currently `yarn build && yarn clean` or something like this. 

If a user is utilizing npm as a package manager instead of yarn, or don't have yarn installed on their machine, they will continue to see error when running `npm run dev:clean`.

* fix(package.json): update script to support npm
  • Loading branch information
Syd Rosa authored Apr 1, 2021
1 parent f49b861 commit d855fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache 2.0",
"scripts": {
"dev": "gatsby develop -H 0.0.0.0",
"dev:clean": "yarn clean && yarn dev",
"dev:clean": "gatsby clean && gatsby develop -H 0.0.0.0",
"build": "gatsby build",
"build:clean": "yarn clean && gatsby build",
"serve": "gatsby serve",
Expand Down

0 comments on commit d855fac

Please sign in to comment.