Skip to content

Commit

Permalink
chore(): simplify scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
inpercima committed Sep 26, 2024
1 parent 63ad77c commit 34aef94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 2 additions & 5 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@ For the other options your app should run on a server which you like.
pnpm build:dev

# build and starts a server, rebuild after changes, reachable on http://localhost:4200/
pnpm serve:dev
pnpm start

# build and starts a server, rebuild after changes, reachable on http://localhost:4200/ with proxy to prevent errors on instagram
pnpm serve:dev:proxy

# build, rebuild after changes, reachable on http://localhost/app/path/to/dist/
pnpm watch:dev
pnpm proxy
```

### Package
Expand Down
7 changes: 3 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@
"repository": "https://github.com/inpercima/publicmedia/",
"scripts": {
"build:dev": "ng lint && ng build --configuration=development",
"serve:dev": "ng serve -o --configuration=development",
"serve:dev:proxy": "ng serve -o --configuration=development --proxy-config src/proxy.conf.json",
"watch:dev": "ng build --watch --configuration=development",
"build:prod": "ng lint && ng build"
"build:prod": "ng lint && ng build",
"proxy": "ng serve -o --configuration=development --proxy-config src/proxy.conf.json",
"start": "ng serve -o --configuration=development"
},
"version": "1.0.0-SNAPSHOT"
}

0 comments on commit 34aef94

Please sign in to comment.