Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
fix: add readme to build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
iiian committed Feb 14, 2022
1 parent 8b2a2c8 commit 88b4053
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/generator/package.json
Expand Up @@ -13,12 +13,15 @@
"scripts": {
"start": "node dist/bin.js",
"dev": "npx tsc -w",
"build": "tsc && npm run copy-templates",
"build": "tsc && npm run copy-templates && npm run copy-readme",
"prepack": "yarn build",
"test": "jest",
"copy-templates": "run-script-os",
"copy-templates:win32": "xcopy src\\templates dist\\templates /i /y",
"copy-templates:default": "cp -rf src/templates dist/templates"
"copy-templates:default": "cp -rf src/templates dist/templates",
"copy-readme": "run-script-os",
"copy-readme:win32": "copy ..\\..\\README.md dist\\README.md",
"copy-readme:default": "cp ../../README.md dist/README.md"
},
"dependencies": {
"@prisma/client": "3.7.0",
Expand Down

0 comments on commit 88b4053

Please sign in to comment.