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 cb8978b commit b3b2dc6
Show file tree
Hide file tree
Showing 3 changed files with 506 additions and 181 deletions.
33 changes: 0 additions & 33 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/esm && cpy 'src/**/*.css' dist/cjs",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"postinstall": "husky install",
"prepack": "yarn clean && yarn build",
Expand Down Expand Up @@ -51,6 +51,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 @@ -60,7 +61,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 b3b2dc6

Please sign in to comment.