Skip to content

Commit

Permalink
fix: postbuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jan 5, 2023
1 parent 076f9b1 commit f002233
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"scripts": {
"watch": "tsc -w -p ./tsconfig.json",
"build": "tsc --build --clean && yarn build:version && tsc --build && tsc --build tsconfig.cjs.json && yarn build:copy-files",
"build:copy-files": "node ../../scripts/copy-files.js",
"build:copy-files": "node ../../scripts/copy-files.js && cpy 'src/**/*' '!src/**/*.ts*' build && cpy 'src/**/*' '!src/**/*.ts*' build/cjs",
"build:version": "node ../../scripts/version.js",
"postbuild": "cpy 'src/**/*' '!src/**/*.ts*' build && cpy 'src/**/*' '!src/**/*.ts*' build/cjs",
"pre-commit": "lint-staged",
"lint": "eslint --ext .tsx --ext .ts ./src",
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
Expand Down Expand Up @@ -78,6 +77,10 @@
"uuid": "^9.0.0",
"zustand": "^4.2.0"
},
"devDependencies": {
"cpy-cli": "^4.2.0",
"typescript": "^4.9.4"
},
"peerDependencies": {
"@types/react": "^18.0.0",
"react": "^18.0.0",
Expand Down

0 comments on commit f002233

Please sign in to comment.