Skip to content

Commit

Permalink
Replace custom script in copy-styles script with cpy
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 27, 2023
1 parent f38b415 commit 704f24a
Show file tree
Hide file tree
Showing 3 changed files with 506 additions and 157 deletions.
9 changes: 0 additions & 9 deletions copy-styles.ts

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build-js-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
"build-js-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
"clean": "rimraf dist",
"copy-styles": "node --loader ts-node/esm ./copy-styles.ts",
"copy-styles": "cpy 'src/**/*.css' dist",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"postinstall": "husky install",
"prepack": "yarn clean && yarn build",
Expand Down Expand Up @@ -59,6 +59,7 @@
"@testing-library/user-event": "^14.4.0",
"@types/node": "*",
"@types/react": "*",
"cpy-cli": "^5.0.0",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.9.0",
"husky": "^8.0.0",
Expand All @@ -68,7 +69,6 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.0",
"vitest": "^0.30.1",
"vitest-canvas-mock": "^0.2.2"
Expand Down
Loading

0 comments on commit 704f24a

Please sign in to comment.