Skip to content

Commit

Permalink
Update dev script (#454)
Browse files Browse the repository at this point in the history
* Updated dev script

* build: replaced rm -fr by rimraf

---------

Co-authored-by: Philippe Ozil <[email protected]>
  • Loading branch information
adityanaag3 and pozil authored Nov 6, 2023
1 parent 75de9fb commit 5079aed
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 30 deletions.
126 changes: 99 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3"
"prettier": "^3.0.3",
"rimraf": "^5.0.5"
},
"homepage": "https://github.com/trailheadapps/lwc-recipes-oss",
"keywords": [
Expand All @@ -39,8 +40,8 @@
"repository": "trailheadapps/lwc-recipes-oss",
"scripts": {
"build": "lwr build",
"clean": "rm -rf __lwr_cache__ && rm -rf site",
"dev": "MODE=dev node scripts/start-server.mjs",
"clean": "rimraf __lwr_cache__ && rimraf site",
"dev": "lwr dev",
"lint": "eslint **/src/**/*.js",
"prettier": "prettier --write \"**/*.{css,html,js,mjs,json,md,yaml,yml}\"",
"prettier:verify": "prettier --check \"**/*.{css,html,js,mjs,json,md,yaml,yml}\"",
Expand Down

0 comments on commit 5079aed

Please sign in to comment.