Skip to content

Commit

Permalink
chore: better build prod script
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerCodeMonkey committed May 6, 2021
1 parent 9fa1aa4 commit e8c5bec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Expand Up @@ -39,5 +39,5 @@ jobs:
run: npm run test -- --watch=false

- name: Build
run: npm run build
run: npm run build:prod

6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -3,10 +3,12 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build -- --prod && cp ./README.md ./dist/ngx-quill",
"build": "ng build",
"build:prod": "npm run build -- --prod && npm run cp:readme",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"cp:readme": "cp ./README.md ./dist/ngx-quill"
},
"license": "MIT",
"author": {
Expand Down

0 comments on commit e8c5bec

Please sign in to comment.