Skip to content

Commit

Permalink
Update cpy-cli to v5
Browse files Browse the repository at this point in the history
This update necessitates a change to the relative filepath of the
destination folder. The relative path apparently needs to be referenced
twice, as per this open issue:

sindresorhus/cpy-cli#35 (comment)
  • Loading branch information
matpassmore committed Oct 28, 2024
1 parent 221980a commit 6fba6de
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
122 changes: 61 additions & 61 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"devDependencies": {
"browserify": "^17.0.0",
"cpy-cli": "^4.2.0",
"cpy-cli": "^5.0.0",
"del-cli": "^5.0.0",
"imagemin-cli": "^7.0.0",
"npm-run-all": "^4.1.5",
Expand All @@ -18,7 +18,7 @@
"scripts": {
"browserify": "browserify assets/js/main.js > static/main.min.js --debug && browserify assets/js/editor.js > static/editor.min.js --debug",
"clean": "del ./static/*",
"copy": "cpy govuk-frontend/govuk/assets ../static/lib --cwd=node_modules && cpy jquery.min.js ../../../static/lib/ --cwd=node_modules/jquery/dist",
"copy": "cpy govuk-frontend/govuk/assets ../../static/lib --cwd=node_modules && cpy jquery.min.js ../../../../../../static/lib/ --cwd=node_modules/jquery/dist",
"images": "imagemin assets/img/* --out-dir=static/img/",
"scss": "sass assets/scss/main.scss:static/main.min.css assets/scss/editor.scss:static/editor.min.css --load-path=node_modules --style=compressed",
"standard": "standard assets/js/main.js",
Expand Down

0 comments on commit 6fba6de

Please sign in to comment.